Support official react native modal on the web
kopax opened this issue · 1 comments
Is your feature request related to a problem? Please describe.
support import { Modal } from 'react-native;
in react-native-web
Describe a solution you'd like
I want to be able to use the official modal in react native web
Describe alternatives you've considered
Using react-native-paper modal, but it does not animate at all like in the official modal demo
Additional context
This is a core component of react-native and unfortunately, it is not compatible with react-native-web so we have to look for alternatives (do you have some)
This is react-native official <Modal />
documentation:
https://reactnative.dev/docs/modal.html
They have a live demo here
The demo is for iOS and Android, I want to use react-native-web
to target the web devices.
This is the same live demo used on the web: https://snack.expo.io/@kopax/excited-bagel
As you can see, the modal is not hidden, and animation does not trigger when clicking on hide/show