-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Mobile scroll container issues #82
Comments
Hi Yaron, yes I know what you mean. There's several fixes for this, the easiest of them being to tell the element to ignore all events. (which works if there are no user interactions inside of your element). hope this helps. regards, |
Thanks so much for the reply! That thread was super helpful. Adding Another side effect of the container mobile trick, though, is that the Yaron Guez On Mon, May 19, 2014 at 1:26 AM, Jan Paepke [email protected]:
|
Well if you're using iScroll you could go over and ask the folks on iScroll -> https://groups.google.com/forum/#!forum/iscroll |
I'm not using iScroll. Basically what I'd like to do is either have the Yaron Guez On Tue, May 20, 2014 at 11:36 PM, Jan Paepke [email protected]:
|
Hi, thanks for the incredible plugin! I'm having a lot of fun with it. I've been having some trouble with setting a container for mobile support. You can see the site in action at http://royalheartmusic.com/animation.
The problem is that, since I added the container scroll method for mobile support, I can no longer scroll when the mouse / finger is hovering over a pinned element. You have to move your mouse / finger to a black area outside of the pinned element to get the scroll to work. This isn't always the case. Sometimes it only happens if you click on the pinned element. Either way it's not ideal. Any ideas?
Another issue that I was having was that setting the scroll container to 100% height would make it stretch to hold all of the content rather than just the size of the viewport. Thus there would be no scroll effect while scrolling down. This might have to do with the fact that the elements within the container are all sized using vh and vw units in order to fit the viewport, maintain aspect ratio, and not crop the image. So instead I set the height of the container to 100vh. This solved that problem and it works on mobile though I'm not sure if that approach is correct.
Thanks so much for your help!
Yaron
The text was updated successfully, but these errors were encountered: