THEOplayer / react-native-theoplayer-ui

A React Native UI for @theoplayer/react-native
https://www.theoplayer.com/docs/open-video-ui/react-native/
6 stars 1 forks source link

Bugfix/tappable hidden UI controls #6

Closed tvanlaerhoven closed 1 year ago

tvanlaerhoven commented 1 year ago

UI components were still tappable after the UI had faded out. It is expected that a user has to first tap the UI (or move the mouse) to make the UI visible, after which the components become interactive again. pointerEvents="auto" is the default, making the container and its children accept pointer events. pointerEvents="box-only", while hidden, makes only the UI container interactive, children do not receive pointer events.