Skip to content
New issue

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

fix: prevent accidental pressing of buttons in overlay header when the overlay is not visible #724

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

lpezzolla
Copy link
Contributor

@lpezzolla lpezzolla commented Sep 26, 2022

I am using the header to contain the playback speed controls.
As of now, the controls are clicked even if the overlay is not visible, with no perceivable feedback apart from the speed change (the overlay does not show either, since the press event is captured by the button).

I applied the fix using the same approach already used for the controls section of the player.

Closes #725

…reen, progress bar) when the overlay is not visible
@ihmpavel
Copy link
Owner

Hi, thank you for your contribution!

@ihmpavel ihmpavel merged commit 5f37320 into ihmpavel:master Sep 27, 2022
@lpezzolla
Copy link
Contributor Author

lpezzolla commented Sep 29, 2022

Hi @ihmpavel, could you please publish a new npm minor with the two fixes by the end of next week?
I am using expo-video-player for the new mobile app for students of my university, and I would like to merge the player feature 😁

@ihmpavel
Copy link
Owner

Hi, please use version v2.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent accidental pressing of pressables in overlay header and bottom actions when the overlay is not visible
2 participants