react-native-masked-text
react-native-masked-text copied to clipboard
Usage with React Native Web
Does this library supports React Native Web? If not, there are plans to support it?
Does this library supports React Native Web? If not, there are plans to support it?
Hello mate,
I'm currently using this library in a React-Native-Web
project.
It is working great, but you will probably want to set the keyboardType
prop to undefined
when running on Web or the TextMaskInput
field might become glitchy.
Thanks for the response. I've made a PR about this a couple of weeks ago #225 that sets the keyboardType to undefined on web but it hasn't been merged yet and I think this project is no longer supported
@thiagoferolla Hahah funny enough I've actually learnt that trick by seeing your Pull Request, but I'd not realized it was yours.
I'm leaving the link in this comment since this might be useful for other developers till the PR gets merged
@thiagoferolla sorry for my beginner's question, but how integrate this solution? I'm having the same error using expo-web but I don't understand how to solve it.
@thiagoferolla sorry for my beginner's question, but how integrate this solution? I'm having the same error using expo-web but I don't understand how to solve it.
@agrarcanjo if you're using the latest version of react-native-web (check the version expo uses), you're good to go. Otherwise, you can try to apply this PR #225