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

UI still exists after cancelling the eyedropper mode with AbortController #27

Open
KaiHOtw-1010 opened this issue Jun 12, 2022 · 0 comments

Comments

@KaiHOtw-1010
Copy link

According to the spec, it should exit the eyedropper mode and dismiss UI if the user aborts color selection.
In the current implementation, the eyedropper UI still exists if user aborts the eyedropper mode with AbortController in code.
The user still needs to click to dismiss the eyedropper UI afterward.

Minimal reproducible example: https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper#aborting_the_eyedropper_mode
As presented by the MDN web docs example above, the eyedropper UI remains after the timeout where the color selection is aborted with the AbortController signal.

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