-
Notifications
You must be signed in to change notification settings - Fork 3.2k
iOS input bug #17
Comments
As of 51e5fa0 FastClick no longer uses coordinates and |
Checked on latest version - bug is still not fixed. Just make input field and big block link. Then scroll input down and focus it May be disable fastClick for input fields (make an option) |
I'm sorry, I don't understand that. Could you put an example on codepen.io or jsfiddle please? What version of iOS are you running and is it an iPad or an iPhone? |
iPhone 5.1.1 Scroll input field to bottom of screen ( http://ge.tt/1tliDIQ/v/0 ) and then click on it. I've got following behaviour: screen jumps but keyboard is not displayed and input is not focused. |
I can't reproduce this. If I scroll the input field to the bottom of the screen as in your screenshot then just tapping on the input field brings up the keyboard correctly. |
That is indeed correct :) |
Closed due to lack of interest from reporter and inability to reproduce. |
onTouchStart you are calculating element position. onTouchEnd you are getting element by this position. When user focuses input iOs displays keyboard and if input was in the bottom of screen iOs scrolls screen down to make input at the top of screen. So when you are getting element by onTouchStart positions you are obtaining wrong element because original input was scrolled to the top
May be the same bug is presented on Android.
The text was updated successfully, but these errors were encountered: