Skip to content

Conversation

mgol
Copy link
Member

@mgol mgol commented Feb 21, 2021

Focus re-triggering in jQuery 3.4/3.5 makes the original element
have its focus event propagated last, breaking the re-targeting.
Trigger focus in a delay in addition if needed to avoid the issue.

This fixes the "interaction between overlay and other dialogs" core dialog
test when tested against jQuery 3.4/3.5.

Ref jquery/jquery#4382

Focus re-triggering in jQuery 3.4/3.5 makes the original element have its focus event propagated last, breaking the re-targeting. Trigger focus in a delay in addition if needed to avoid the issue. This fixes the "interaction between overlay and other dialogs" core dialog test when tested against jQuery 3.4/3.5. Ref jquery/jquery#4382
@mgol mgol added this to the 1.13 milestone Feb 21, 2021
@mgol mgol requested review from arschmitz and fnagel February 21, 2021 22:43
@mgol mgol mentioned this pull request Feb 21, 2021
Copy link
Member

@fnagel fnagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 by reading

@mgol mgol merged commit 834ee5f into jquery:main Feb 21, 2021
@mgol mgol deleted the focus-retriggering-workaround branch February 21, 2021 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants