Skip to content

[5.x] Fix the querying of invalid ids - #1435

Merged
royduin merged 1 commit into
masterfrom
bugfix/query-invalid-id
Oct 20, 2026
Merged

royduin merged 1 commit into
masterfrom
bugfix/query-invalid-id

Conversation

@Jade-GG

@Jade-GG Jade-GG commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

ref: RAP-2013

This bug appeared in some cases when you load a page, quickly clicked an input, and then immediately hovered over the autocomplete. It would try to use the ID of the input you just clicked instead of the id of the autocomplete, which may be an invalid id in this query.

By using CSS.escape we avoid this issue and simultaneously fix the possibility that an autocomplete with a weird id doesn't focus correctly.

@royduin
royduin merged commit 53b4a81 into master Oct 20, 2026
26 checks passed
@royduin
royduin deleted the bugfix/query-invalid-id branch October 20, 2026 09:15
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.

3 participants