necolas / react-native-web

Cross-platform React UI packages

Home Page:https://necolas.github.io/react-native-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TouchableNativeFeedback: implementation

necolas opened this issue · comments

Technically this is an Android-only component, but it's a popular interaction type for web apps too.

https://facebook.github.io/react-native/docs/touchablenativefeedback.html

Firstly, RNW is awesome - thank you for all your hard work.

Secondly can we leverage external components to achieve this? Eg the official material react-ripple package? https://www.npmjs.com/package/@material/react-ripple

Happy to submit a PR if that's acceptable, thought I'd check first

Just curious on the state of this as well. Anyone have a recommendation for a Ripple component that uses native CSS transforms instead of a js-based approach?

I'm using react-native-material-ripple right now, but because that uses Animated it runs on the JS thread, which means it is mostly unusable.

Appreciate any advice

Closing as these touchable components are now deprecated