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

[QUESTION] Detect showModal method from dialog element #616

Open
KirianCaumes opened this issue May 23, 2024 · 0 comments
Open

[QUESTION] Detect showModal method from dialog element #616

KirianCaumes opened this issue May 23, 2024 · 0 comments

Comments

@KirianCaumes
Copy link

Hi,
Currently, if I write the following code, the showModal method is not detected as a problem:

const dialog = document.createElement('dialog')
dialog.showModal()

With this .browserslistrc configuration:

last 10 ie versions

But according to caniuse.com, it is indeed not compatible: https://caniuse.com/mdn-api_htmldialogelement_showmodal

Is this a bug or something that is not currently in place in the library? Is it even possible to detect?
In any case, thank you for this awesome librairie 😁

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