-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Radio and Checkbox Inputs Not Working With scrollOverflow=true (On Mobile Only) #2634
Comments
That's a iScroll.js issue not a fullPage.js one. Any other issues please report to iScroll.js repository. Personally I would encourage you to get rid of scrollOverflow and use |
In any case, I've applied the proposed solution from the last comment in cubiq/iscroll#576 in the dev branch. Please try again using the latest version in the dev branch of the scrollOveflow file (v 0.0.1) and let me know if it fixes it. |
I just upload the latest version from scrollOverflow file (v 0.0.1) to this place --> https://gramerlab.com/overflow.js And used inside this file https://gramerlab.com/a3.html But still not working, I will check again what is going in on. Should I also include this?
|
Just to confirm, I added click:false, preventDefaultException: { tagName:/.*/ } And also added the scrollOverflow file (v 0.0.1) in here:
But the problem still remains.
|
@luispoll88 I wouldn't recommend you to play with the In any case, you should be using the iScroll options withing the $('#fullpage').fullpage({
//other options here
scrollOverflowOptions: {
preventDefaultException: {
tagName: /.*/
}
}
}); |
Confirming, it works only if I also include click:false but not without it. Also, I am using the original scrollOverflow file, not need to use the modified file scrollOveflow file (v 0.0.1)
Here are my final settings:
So far I have not problems with other links inside my testings. Tested on iPhone, Android and Kindle Devices, all of them work. |
You should be using the latest fullPage.js version in any case. 2.9.4. Yours is quite old :D And... just be careful when using any link in the scrollOverflow section. Those might not work on desktop or on mobile when you force a the |
How do I get the latest versions of fullpage.js? Is there a page that I can follow for updates? |
Github? Npm ? Bower? You choose :D |
Yes but is my first time around Github, so I am wondering what is the right page/link I need to visit. Is this --> https://github.com/alvarotrigo/fullPage.js/tree/master/dist |
Yeah, but you can see the releases here: You can also follow me on twitter. |
Thanks, and the page for the scrolloverflow? If it not too much to ask. |
In the vendors folder: |
Gracias |
This made my radio inputs work again. Thanks!
|
I think you should add |
WHAT I AM USING?
I am using FullPage.js with scrollOverflow.
MY SETTINGS
These are my settings
PROBLEM EXPLANATION
I have a contact form that has radio and checkboxes inputs but those inputs don't work in mobile devices with scrollOverflow equals to true. They work on desktops though.
If I chancge scrollOverflow to false the inputs work on mobile but scrollOverflow does not works which is needed because the contact form is long for mobile.
LIVE EXAMPLES
You can see scrollOverflow=true (enable) on this live example 1 but radio and checkbox inputs don't work on mobile.
On these example 2 I disabled scrollOverflow and the radio and checkbox inputs work on mobile but the scrollOverflow don't works which is bad if the contact form is long and I need to scroll.
Does anyone knows how to fix this?
The text was updated successfully, but these errors were encountered: