React-native-modal: Does this work with React Native Web?

Created on 16 Apr 2020  路  3Comments  路  Source: react-native-modal/react-native-modal

Does this work with React Native Web? If so, are there any other configuration steps I need to do?

I am testing it, and my RNW site doesn't crash or anything, but I am noticing that it just displays all the content at once without hiding it.

Both of these items surrounded by red boxes should be inside modals

image

Does this library just not support RNW? What is the best way to resolve this problem?

question

Most helpful comment

@haveamission , @kopax : See https://github.com/necolas/react-native-web/pull/1646

I hope that will be usable soon for react-native-web.

All 3 comments

It does not, switched to this library that does:

https://www.npmjs.com/package/modal-react-native-web

Is there any plan to support the web ? Did you manage to get a clickable backdrop overlay to close the modal ?

@haveamission , @kopax : See https://github.com/necolas/react-native-web/pull/1646

I hope that will be usable soon for react-native-web.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

levelingup picture levelingup  路  3Comments

kientux picture kientux  路  3Comments

psycura picture psycura  路  4Comments

flieks picture flieks  路  4Comments

ethanyuwang picture ethanyuwang  路  4Comments