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

Remove button focus to be able to use keybinds #1896

Open
ghispell opened this issue Oct 25, 2024 · 0 comments
Open

Remove button focus to be able to use keybinds #1896

ghispell opened this issue Oct 25, 2024 · 0 comments

Comments

@ghispell
Copy link

Current Behavior

We're using react-player for a sport website. We have playlists of actions that we can navigate through with keybinds and that are played in the video player. When we click any buttons on the player, the focus is set to this button and we cannot use our keybinds to navigate. For example : i'm clicking full screen and want to skip to the next action with "K", it doesn't work because the focus is on the fullscreen button. I have to click on the player to unfocus then use my keybind.

image

Expected Behavior

I want to be able to use my keybinds after clicking a button on the player without having to click on the player to unfocus.

Environment

  • Browser: Chrome
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

No branches or pull requests

1 participant