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

Change how dropdown_input works to fix #672 and #679 #705

Closed
wants to merge 3 commits into from

Conversation

JoackimPennerup
Copy link

Changes dropdown_input to only use one input and keep focus on the input. This way aria-attributes are on the focused element at all times.

This also changes how dropdown_input is styled, using a style more similar to Select2, where focus is still on the control.
Added a test for #672, not sure about how to write a test for #679.
image

@JoackimPennerup
Copy link
Author

Changed how focus is handled to fix #660 in the same PR. iOS requires focus to be set within the same input event. Otherwise It won't open the keyboard. So I changed it to be synchronous. Firefox still wants it async, so there is a check for that too.
@oyejorge any chance you could have a look at this PR?

Copy link

github-actions bot commented Aug 2, 2024

This pull request has not been active in 120 days and has been marked "stale". Remove stale label or comment or this will be closed in 15 days

@github-actions github-actions bot added the stale No activity label Aug 2, 2024
@github-actions github-actions bot closed this Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant