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

scrollOverflow form input issue #2837

Closed
jordan-realfoto opened this issue Aug 11, 2017 · 3 comments
Closed

scrollOverflow form input issue #2837

jordan-realfoto opened this issue Aug 11, 2017 · 3 comments

Comments

@jordan-realfoto
Copy link

This issue is regarding this issue with iScroll.

The problem is iScroll prevents form input click events from firing on some browsers. (Windows IE and Chrome in my experience.) The best "fix" at the moment is to implement the following options:

click: false
preventDefaultException: { tagName:/.*/ }

Since your plugin makes use of iScroll it may be of service to document this bug and possible fix in your documentation to prevent users from wasting hours trying to figure out this problem, or perhaps enable these options by default in your plugin.

@alvarotrigo
Copy link
Owner

Thanks I'll consider that!

@tmcnicholls
Copy link

tmcnicholls commented Dec 11, 2017

It would be good if this could be added to the documentation. I have just spent 4 hours debugging the same issue with Chrome on Android and only found the solution due to this issue.

For clarity, adding these options to scrollOverflowOptions fixed the issue of javascript forms not submitting on mobile:

scrollOverflow: true,
scrollOverflowOptions: {
	click: false,
	preventDefaultException: { tagName:/.*/ }
},

Thanks

@alvarotrigo
Copy link
Owner

Fixed in v4! 👍

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

No branches or pull requests

3 participants