Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


can not input any words after long touch an input element in iframe by ios6, that parent contain zepto. #688

siemenliu opened this Issue · 2 comments

2 participants


there is a demo, browse with ios6 device.

1 - when dom ready, touch the input element in iframe, focus on it.
2 - long touch until the magnifying glass show, release.
2 - input any word, the problem reproduce.


if remove touch module code from zepto, it works fine.


I suggest forking the touch module and adapting it to your needs (possibly preventing events from being handled when the main document doesn't have focus). I don't see how Zepto causes this specific problem as the touch module doesn't prevent any default events or propagation of events (possibly this is a browser bug or a security "feature"). Verified on iOS 7.0.3.

Because of being such an edge case, I'm closing this ticket. If a simple solution surfaces, we'll gladly add it to Zepto.

@madrobby madrobby closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.