-
Notifications
You must be signed in to change notification settings - Fork 932
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
Selected item is not updated in mobile devices #1554
Comments
You can also disable selection on button blur. It's unfortunate that it has to be done in order to avoid this behaviour on mobile. |
This will require a change and a fix on our side as well. Will update once they are done. |
Thanks for the update @silviuaavram . Is there any ETA on this? |
@RohitHF Could you give me again a few more details related to repro steps, actual behaviour and expected behaviour? After looking at the docs example, it seems to me that the mobile behaviour is the same as the desktop one. |
Actually, I think the behaviour is consistent. If you have a highlighted item and you blur, it will get selected on both mobile and web. The actual problem is the different behaviour between select and combobox. I have opened an issue on ARIA, we will update our hooks as they suggest. |
downshift
version: 7.6.0node
version: v18.17.1npm
(oryarn
) version:3.5.1Relevant code or config
https://www.downshift-js.com/use-select/#basic-multiple-selection
What you did:
Tested the example in iPhone ios v16+
What happened:
The selection is not updated on clicking outside to close the dropdown select. It works fine if we toggle without clicking outside
Reproduction repository:
Problem description:
The mobile devices do not get the correct selected items on clicking outside. Attached video
Suggested solution:
If we can disable the closing of select dropdown on clicking outside, we can use this in touch devices.
Dropdown.with.multiselect.bug.in.native.device.MP4
The text was updated successfully, but these errors were encountered: