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

Open
wants to merge 3 commits into
base: master
Choose a base branch
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?

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.

None yet

1 participant