Replies: 1 comment
-
There's some effort being made to roll this out by default in React Native, eventually |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When testing out RSD we ran into a problem where ':active' styling on buttons where not applied. From this comment we figured out that we needed to enable the PointerEvents feature flag. This was not that well documented both in RSD's documentation and in expo's documentation, so we thought we should share our (naive) implementation of this.
Create two plugins that modifies MainApplication and AppDelegate:
Note: the regex used to find where to add the modifications can be different depending on your setup.
Add the plugins to your app.config
Enable the feature flag in your index file where you register the root component:
Hope that helps!
Beta Was this translation helpful? Give feedback.
All reactions