react-native-paper
react-native-paper copied to clipboard
feat: touch to display tooltip
Motivation
I would like my users to touch the info icon (not long touch), as this would be more intuitive when it's on a TextInput or similar.
an example where I'd prefer a touch instead of a long touch
Related issue
https://github.com/callstack/react-native-paper/issues/4206
Test plan
To test this I have created an example tooltip in a TextInput, the tooltip is set to display on touch. Here is an example:
Hey @Steven-MKN, thank you for your pull request 🤗. The documentation from this branch can be viewed here.
Why not just using enterTouchDelay={0} ?
It is a nice prop, but seems the repo dying 😢
Why not just using
enterTouchDelay={0}?
Hey, I explained here https://github.com/callstack/react-native-paper/issues/4206
It is a nice prop, but seems the repo dying 😢
Sad. In favour of what? I can't imagine a react native app without this lib tbh