-
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
scrollOverflow: true, causes not clickable links on mobile devices #2035
Comments
Seems to be a quite important bug of iScroll.js... cubiq/iscroll#783 |
It seems you can solve it for now by using the iScroll option $('#fullpage').fullpage({
scrollOverflowOptions: {
click: true
}
}); |
This one works, thank you! |
I'll keep it open as it is something to be added by default in fullpage.js. |
Solved in 2.8.1 |
When click is set to true, tap is not working and with click set to false tap is working but click is not. That was my problem.
|
@martarakoczy yeap, its a pity iScroll.js doesn't seem to be maintained by @cubiq as actively anymore. |
Hello
I'm using fullPage version 2.8.7 and iScroll version 5.2.0. Codepen: http://codepen.io/gyduxa/pen/qaQJLr - which simulates the non working link on iphone or iphone in chrome devTools. Is there something missing? Thank you |
I suppose you are using the vendor file scrolloverflow.js included in fullPage.js right?
Try it using the dev version fullPage.js 2.8.8 which solves some click and touch event issues in 2.8.7. Note it is not yet available in the minified version. |
Thank you very much for the fast answer! Yes, I'm using a jquery.scrolloverflow.min.js . In the first comment of the file it says: I've updated to fullPage.js 2.8.8 and now it works! It only has an error but I don't find any difference in the navigation on desktop and iphone: Thank you very much! |
You need to include scrolloverflow.js before fullPage.js. |
That was dumb of my part... |
Hi @alvarotrigo , I have a similar problem on my site, where when I view it on my mobile I cannot click the links on the middle of the page, well, basically the links don't work. I have - scrollOverflow set to false. Using fullpage.js 2.8.7, tried using 2.8.8 and it didn't work.
For some reason, this link won't work. Here is the link to the page I am referring to: http://stevenprinsloo.co.za/portfolio2/#secondPage |
Use 2.8.8. If you believe its a bug in fullPage.js then provide an isolated reproduction in jsfiddle or codepen and proceed to create a new issue in the forum. |
Hello I am using the version 2.8.8.
Note that the above issues are not occurring in case I don't have scrolling in my page. Any idea??? |
Why are you even setting the |
If I don't set the Click option, the buttons become un-clickable. |
@antoinefaddoul can you open a new topic with a link to an isolated reproduction of it (no external css or js) ? |
Hi. |
You are not using the vendor file required by fullPage.js when using |
i use |
Try placing your click event on the Change this $(window).on('load',function(){
$('#fullpage').fullpage({
scrollOverflow: true,
});
$('#submit').click(function(){
alert('hello');
});
}); To this: $(window).on('load',function(){
$('#fullpage').fullpage({
scrollOverflow: true,
afterRender: function(){
$('#submit').click(function(){
alert('hello');
});
}
});
}); Or use delegation: $(document).on('click', '#submit', function(){
alert("a");
}); |
Thank you for answering. But it still doesn't work. One
It works as expected on PC, but doesn't work on mobile devices. Two is based on your advice
It works as expected on PC, but doesn't work on mobile devices. same as One pattern. Three
It works well on PC and mobile devices too. From the above, when I'm sorry to bother you again. |
@TakahiroHishinuma if you change your buttons for normal text, it works as expected. |
Very probably related with the |
Solved. |
how did you solve this ?? |
@Oblik-Design
with
|
I just upgraded the fullpage.js plugin to the newest version, because I had problems with the scrolling bar in the old version.
Now the scrolling bar is fine, everything works well, but not the links!
I set
scrollOverflow: true
and when iScroll adds a scrollbar all links are not clickable anymore, just tested it on 3 different phones (LG L90, LG L40 & an old Sony) and 2 tablets (Nexus 7, Lenovo A10-70). Don't know what to do.The text was updated successfully, but these errors were encountered: