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

IOS Select, when focusing on second stacked select it errantly chooses an option in the second select. #11268

Closed
linnea opened this issue Mar 31, 2020 · 2 comments

Comments

@linnea
Copy link

linnea commented Mar 31, 2020

Version

2.6.11

IOS 13.4 and 13.3, present in both safari and chrome.

Reproduction link

https://jsfiddle.net/linnea/x7gb20qd

select bug

Steps to reproduce

Stack two Selects above one another, with the second select having more than 1 option.
Tap on the first select, then, without choosing an option, tap on the second select.
The value of the second select is set to an option other than the value it's originally set to, even though you haven't chosen a value yet.

What is expected?

https://jsfiddle.net/linnea/8zueq1dn/2/

The value of the second select does not change when focused.

What is actually happening?

The value of the second select is changed when focused.

@devonreed
Copy link

I played around with this jsfiddle a little, and it looks like the numerical index of the first select is being passed down to the second select. If you move the "brown bear" option to the third position, it will autoselect "sick beats" when you transition to the second select.

@linnea
Copy link
Author

linnea commented Apr 3, 2020

It looks like this is an iOS issue and not a vue issue, so I'm going to close this out.

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

No branches or pull requests

3 participants