We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
blur
focus
Describe the bug When triggering focus/blur events on the element its ancestor nodes also receive focus/blur when they should not.
focus/blur
Per MDN docs focus and blur events don't bubble in DOM. But related focusin and focusout do bubble. https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
focusin
focusout
Expected behavior focus or blur events should not bubble in DOM.
Device:
Will open a PR soon with updated test cases.
The text was updated successfully, but these errors were encountered:
capricorn86#771@patch: Don't bubble focus and blur events through…
eb20170
… DOM.
capricorn86#771@patch: Don't bubble and events through DOM.
0e82341
Merge pull request #772 from romansp/task/771-focus-blur-prevent-bubble
7f8ee01
#771@patch: Don't bubble `focus` and `blur` events through DOM.
Successfully merging a pull request may close this issue.
Describe the bug
When triggering
focus/blur
events on the element its ancestor nodes also receivefocus/blur
when they should not.Per MDN docs
focus
andblur
events don't bubble in DOM. But relatedfocusin
andfocusout
do bubble.https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
Expected behavior
focus
orblur
events should not bubble in DOM.Device:
Will open a PR soon with updated test cases.
The text was updated successfully, but these errors were encountered: