Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

bug on ios: if the page has multiple focusable element, the focused element changes unexpectedly. #519

Open
lzl124631x opened this issue Feb 16, 2017 · 3 comments

Comments

@lzl124631x
Copy link

On iOS, if the page has multiple focusable element, say, multiple select and input[type="text], when user clicks one inputA, the keyboard jumps out, which in turns changes the page scroll offset, and I think the ghost click fired by FastClick will click another region (because of the page scroll), so the focused element will change from inputA to inputB.

@samwisekind
Copy link

I appear to be having the same issue. Using needsclick does not seem to solve it either.

@lzl124631x
Copy link
Author

I guess the problem is caused by the "ghost click" issued by fastclick. I disabled fastclick for the page and problem solved. No idea how to fix it with fastclick enabled.

@oHaiyang
Copy link

I think this comment in #446 solved the problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants