Modal Snack works on Android/iOS but not Web

This is a Modal example that someone else wrote (also as a snack but pre-Web player) and I copied into a new snack for the Web player. It errors there but if you click over to iOS or Android then it runs just fine. Is this an issue in the backend of the Web player, or an uncaught issue in the iOS/Android versions?

The error in the Web version is a pretty common one judging by Google:

Cannot read property ‘removeListener’ of undefined
TypeError: Cannot read property ‘removeListener’ of undefined
at t.value (module://react-native-modal.js:3:12057)
at pa ([snack internals]
at ma ([snack internals]
at Ua ([snack internals]
at La ([snack internals]
at [snack internals]
at Object.t.unstable_runWithPriority ([snack internals]
at Ds ([snack internals]
at Os ([snack internals]
at Ss (https://s3.us-west-1.amazonaws.com/snack-web-player-staging/33/static/js/2.44eacafa.chunk.js:1:1283721)

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.