We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's a box-none value in RN web but currently it's implemented incorrectly. Currently the child elements of it 's implemented like parent > *: { pointer-events: auto } (see here ) which only affects direct children. So the grand-children will still inherit the pointer-events: none
All components inside parent that has pointer-events: box-none should be pointer-events: auto
pointer-events: box-none
pointer-events: auto
pointer-events: none
https://codesandbox.io/s/crazy-chihiro-yz9y4k
No response
Update to the pattern parent *: { pointer-events: auto } so it affects all children. That means updating the >* to * in this line
parent *: { pointer-events: auto }
>*
*
This is recommended in the RN doc as well https://reactnative.dev/docs/view#pointerevents .
The text was updated successfully, but these errors were encountered:
react-native-web
No branches or pull requests