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

Autocomplete: Rewrite with a delay instead of appending the live region #2031

Merged
merged 5 commits into from
Jan 5, 2022

Conversation

bbenjamin
Copy link
Contributor

@bbenjamin bbenjamin commented Dec 8, 2021

Potential solution for #2002. The bug is due to changes https://bugs.jqueryui.com/ticket/9357. This addresses the bug without undoing the fix reported there. Instead, it empties the live region instead of appending, and does so after a brief timeout so the live region isn't updated on every mousemove event or when quickly traversing through options

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 8, 2021

CLA Signed

The committers are authorized under a signed CLA.

@bbenjamin bbenjamin changed the title fix issue 2002 by rewriting live region after delay Autocomplete: fix issue 2002 by rewriting live region after delay Dec 9, 2021
ui/widgets/autocomplete.js Outdated Show resolved Hide resolved
ui/widgets/autocomplete.js Outdated Show resolved Hide resolved
ui/widgets/autocomplete.js Outdated Show resolved Hide resolved
@mgol mgol added this to the 1.13.1 milestone Dec 18, 2021
ui/widgets/autocomplete.js Outdated Show resolved Hide resolved
ui/widgets/autocomplete.js Outdated Show resolved Hide resolved
@mgol
Copy link
Member

mgol commented Jan 3, 2022

I tested this locally and it works fine for me. I'll wait a bit for Felix to say whether he had any other concerns and I'll land it, making the changes requested by Felix by myself if @bbenjamin isn't available to do that.

Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

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

Thank you for updating the PR!

@mgol mgol changed the title Autocomplete: fix issue 2002 by rewriting live region after delay Autocomplete: Rewrite with a delay instead of appending the live region Jan 5, 2022
@mgol mgol merged commit 933ce5d into jquery:main Jan 5, 2022
@mgol
Copy link
Member

mgol commented Jan 5, 2022

Landed, thanks!

@mgol
Copy link
Member

mgol commented Jan 20, 2022

jQuery UI 1.13.1 including this fix has been released: https://blog.jqueryui.com/2022/01/jquery-ui-1-13-1-released/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants