Fullpage.js: scrollOverflow form input issue

Created on 11 Aug 2017  路  2Comments  路  Source: alvarotrigo/fullPage.js

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.

enhancement

Most helpful comment

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

All 2 comments

Thanks I'll consider that!

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rslcdmc picture rslcdmc  路  3Comments

pepi3 picture pepi3  路  4Comments

Andi-Stevenson picture Andi-Stevenson  路  4Comments

meceware picture meceware  路  3Comments

villain2 picture villain2  路  3Comments