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

Flickering during scroll #46

Closed
jessicaldale opened this issue Jun 4, 2013 · 6 comments
Closed

Flickering during scroll #46

jessicaldale opened this issue Jun 4, 2013 · 6 comments

Comments

@jessicaldale
Copy link

New issue with flickering during scroll on Mobile Devices.

After doing some googling and research I see some have solved this problem by adding return false on the click or explicitly setting the axis in the options. Can you look into this? I can provide video if you need. I am using localscroll with hash: false
#33

@jessicaldale
Copy link
Author

Setting the axis: 'y' had no effect. Perhaps there is a way to add return false to localscroll? I am seeing this on iPhone 4S, iOS6.

iPhone 5, iOS6 and iPads, iOS 5 and iOS6 are working correctly. Android devices are working with no issues, but a bit laggy.

@flesler
Copy link
Owner

flesler commented Jun 4, 2013

Ok, this commenting cross-plugin is confusing me heh. LocalScroll DOES call event.preventDefault already:
https://github.com/flesler/jquery.localScroll/blob/master/jquery.localScroll.js#L74

Can you provide a link to the page where you see the flickering? the fact that it happens on your test site doesn't mean it happens always, sometimes there's a thing on the layout the makes the browser go crazy.

@jessicaldale
Copy link
Author

You're totally right! I keep posting localscroll stuff here. Sorry about that! Just to note, scrollTo is working fine on mobile devices with the return false included. I will post a link shortly.

@AnatoliyLitinskiy
Copy link

My problem was resolved by setting {axis:'y'} as third param to scrollTo( [selector],[duration], {axis:'y'} );

@flesler
Copy link
Owner

flesler commented Jul 5, 2013

That's interesing, will have it in mind.

@flesler flesler closed this as completed Jul 5, 2013
@guelzimtr
Copy link

This works thanks;

I have also forced duration : 0, easing: 'linear'

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

No branches or pull requests

4 participants