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

Native mobile scrolling #3

Open
Boolian opened this issue May 14, 2013 · 2 comments
Open

Native mobile scrolling #3

Boolian opened this issue May 14, 2013 · 2 comments

Comments

@Boolian
Copy link

Boolian commented May 14, 2013

Great little script; works a treat!

Just wondering if there's a way to override the script to allow native touch scroll on iOS devices etc?

@yohsuzuki
Copy link

Actually, this might be possible now (after iOS 5) using -webkit-overflow-scrolling: touch. This plugin doesn't support it now, but it could be implemented. You should contribute!

Or, in the meantime, conditionally call TrackpadScrollEmulator depending on the iOS version, using CSS to scroll natively instead if supported?

@Grsmto
Copy link

Grsmto commented Jun 17, 2013

Actually this is not as simple as just testing -webkit-overflow-scrolling: touch support. Because for example, Android Chrome supports it but returns false if you test the property.

To be clear, the plugin already use native scrolling, it is only the scrollbar that is emulate, not the scrolling effect.

I'm currently on an update for mobile support anyway!

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

3 participants