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

Add smooth overflow scroll for iPad & iPhone #5

Merged
merged 2 commits into from Apr 20, 2015

Conversation

antibland
Copy link
Contributor

Hi Jason,

I first checked out your project on my iPhone and noticed the scrolling within overflow areas could be smoother. My little commit addresses this.

  • Andy

@@ -1,6 +1,10 @@
$large-breakpoint: 64em;
$medium-breakpoint: 42em;

@mixin smooth-scroll {
-webkit-overflow-scrolling: touch;
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is just one property here, let's kill the mixin and use -webkit-overflow-scrolling directly below.

@jasonlong
Copy link
Owner

Thanks @antibland. I just had the one comment about the mixin. Otherwise, I'm cool trying this out.

@antibland
Copy link
Contributor Author

Thanks. Done.

@jasonlong
Copy link
Owner

🤘

jasonlong pushed a commit that referenced this pull request Apr 20, 2015
Add smooth overflow scroll for iPad & iPhone
@jasonlong jasonlong merged commit 10fecec into jasonlong:master Apr 20, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants