Skip to content

fix(OpenUI5Support): fix error on Firefox#13794

Open
TeodorTaushanov wants to merge 2 commits into
release-1.24from
patch_popup_124
Open

fix(OpenUI5Support): fix error on Firefox#13794
TeodorTaushanov wants to merge 2 commits into
release-1.24from
patch_popup_124

Conversation

@TeodorTaushanov

Copy link
Copy Markdown
Member

fixes #13783

In Firefox, the exception target.closest is not a function occurs when a popup is open, the user shifts focus away from the window (e.g., to the address bar), and then refocuses the popup. Firefox first dispatches a focus event where the target is the Document instead of an element, and Document does not implement closest().

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

Successfully merging this pull request may close these issues.

2 participants