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

Allow local rubberbanding when at the bottom or top of a scrollable element #7

Open
lazd opened this issue Jul 20, 2014 · 5 comments
Open

Comments

@lazd
Copy link
Owner

lazd commented Jul 20, 2014

Currently, when using iNoBounce, rubberbanding can only happen if you're not scrolled to the absolute top or bottom of an element.

It would be nice from a UX perspective to allow the element to rubberband without causing the page to bounce.

@lazd
Copy link
Owner Author

lazd commented Jul 20, 2014

I think this could be accomplished the by leaving an extra pixel of scroll space when the bottom is hit, but this might make some layouts appear wrong.

@lazd lazd mentioned this issue Jul 20, 2014
@natew
Copy link

natew commented Feb 12, 2015

👍 want to use this in http://reapp.io/ because of how easy it was to install. The 1px is interesting. Perhaps it could wrap touch scrollable content with something that is 1px off but -1px margins?

@lazd
Copy link
Owner Author

lazd commented Feb 12, 2015

@natew it's worth trying, I want to avoid doing anything that will screw up layouts, so I'm wary of -1px margins, but it might work out just fine.

@MentalGear
Copy link

Hey,
Just wanted to thank you for this amazing out-of-the-box solution !
And by the way, local elasticity would be great.
If you are afraid that it could mess up some layouts, maybe make it an api option one must first switch on. :)

@vbgm
Copy link

vbgm commented Apr 19, 2017

@lazd thank you for the solution, so far works great.
Could please anyone (@natew) explain this:

wrap touch scrollable content with something that is 1px off but -1px margins?
I actually did this using css, but no luck, does it mean it should be dynamically added when scrolled on top?

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

No branches or pull requests

4 participants