react-native-controlled-mentions
react-native-controlled-mentions copied to clipboard
react-native-web
https://snack.expo.io/@dabakovich/mentionsapp - see web tab
Looks like there are two present issues.
- The rendered <TextInput> is getting an object as its value
- Selecting a mention doesn't actually seem to modify the value
It looks like you're rendering elements inside of the <TextInput> as children when you could wrap the <TextInput> and the <Text> overlay in a <View>.
Will try to make a PR.
https://github.com/dabakovich/react-native-controlled-mentions/pull/32
Not sure how you'd like to test/verify functionality if you don't have a rn-web project already, but it's not too hard to set up. I've been using wml (npm package alternative to npm link that works well with react-native).