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

api.DOMTokenList.toggle - <Mozilla Dropdown problem> #8748

Closed
Lese08 opened this issue Jan 14, 2021 · 1 comment
Closed

api.DOMTokenList.toggle - <Mozilla Dropdown problem> #8748

Lese08 opened this issue Jan 14, 2021 · 1 comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@Lese08
Copy link

Lese08 commented Jan 14, 2021

What information was incorrect, unhelpful, or incomplete?

What did you expect to see?

I have a toggle function when I hover a select tag element. When I click and un-hover to select from the dropdown list, the dropdown list closes.

Did you test this? If so, how?

Yes I am currently creating a component framework and I realized that Mozilla browser is having trouble with the toggle function.
I have used .onmouseover, .onmouseout, and .onclick to test my dropdown and nothing works so far.

MDN page report details
@queengooborg queengooborg added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jan 14, 2021
@ddbeck
Copy link
Collaborator

ddbeck commented Jan 23, 2021

Hi @Lese08 and thanks for reporting this issue. I tested the API myself and I was able to get the DOMTokenList.toggle() method to behave as expected (with the classList of an HTML element). This suggests that the compatibility data we have is correct about this API, at least. Since it sounds like you're working on a more complex problem, it may be that you're having trouble with another API.

If you still think there's a problem with this API that is not reflected in the compatibility data, then feel free to follow up on this issue with minimal sample code that demonstrates the problem. If you wish to report a bug with Firefox itself, then I suggest you report the problem at https://bugzilla.mozilla.org/. Thank you!

@ddbeck ddbeck closed this as completed Jan 23, 2021
@queengooborg queengooborg closed this as not planned Won't fix, can't repro, duplicate, stale Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

No branches or pull requests

3 participants