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

<MediaController> takes focus? #866

Open
intelligence opened this issue Mar 26, 2024 · 2 comments
Open

<MediaController> takes focus? #866

intelligence opened this issue Mar 26, 2024 · 2 comments

Comments

@intelligence
Copy link

After some thorough head scratching I've tracked down that introducing in my app makes it takes focus in a carousel slider. I've got a Mux video on slide 2 and whenever is there it will jump to that slide. Disabling the carousel feature and simply having a horizontal scroll produces the same result. Removing or setting display: none on it, fixes it.

Any idea what might cause this behaviour?

@luwes
Copy link
Contributor

luwes commented Apr 10, 2024

could you provide an online demo or code sandbox? that will help a lot with debugging

have you tried changing the tabindex attribute?

@intelligence
Copy link
Author

Hey! I'm in the middle of getting this project production ready so I'll get back to you later.

I tried settings tabindex to -1 and 500 but that didn't change the behaviour.

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

2 participants