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

iOS #4

Closed
arronmabrey opened this issue Jun 13, 2012 · 6 comments
Closed

iOS #4

arronmabrey opened this issue Jun 13, 2012 · 6 comments

Comments

@arronmabrey
Copy link

I noticed the animations don't playback when scrolling on iOS, I know its because safari doesn't execute JS when scrolling to keep the user interaction performant.

My question is could superscrollorama be integrated with something like jScrollpane (http://jscrollpane.kelvinluck.com/) where superscrollorama would listen to jScrollpane events vs the native window scroll events?

Besides changing which scroll events to listen to are there any other considerations I may be missing?
Is there an issue with my "target elements" or "pages" being wrapped inside the jScrollpane DOM elements and not directly inside the body tag? Would it throw off any offset calculations or anything of that nature?

Have you tried anything like this before, if so, for what reason did you abandon it?

Thank you John for your contributions.

@johnpolacek
Copy link
Owner

Arron -
Sorry for not getting back sooner. I've been on vacation.

I haven't explored it much with iOS. I don't have an iPad or iPhone and
this is just a side-just-for-fun sort of project for me. I'm open to pull
requests or can throw you a nice plug/tweet if you get something working
for this (whether it uses my plugin or not)

On Wed, Jun 13, 2012 at 10:17 AM, Arron Mabrey <
reply@reply.github.com

wrote:

I noticed the animations don't playback when scrolling on iOS, I know its
because safari doesn't execute JS when scrolling to keep the user
interaction performant.

My question is could superscrollorama be integrated with something like
jScrollpane (http://jscrollpane.kelvinluck.com/) where superscrollorama
would listen to jScrollpane events vs the native window scroll events?

Besides changing which scroll events to listen to are there any other
considerations I may be missing?
Is there an issue with my "target elements" or "pages" being wrapped
inside the jScrollpane DOM elements and not directly inside the body tag?
Would it throw off any offset calculations or anything of that nature?

Have you tried anything like this before, if so, for what reason did you
abandon it?

Thank you John for your contributions.


Reply to this email directly or view it on GitHub:
#4

Follow me on Twitter: http://twitter.com/johnpolacek

@arronmabrey
Copy link
Author

John,
No problem. I was just doing some preliminary research for a project. If
the project is a go I will more then likely use this because it looks like
the best thing out there. I will be sure to let you know if I come up with
a solution for iOS.

-- Arron

On Wed, Jun 20, 2012 at 9:37 PM, John Polacek <
reply@reply.github.com

wrote:

Arron -
Sorry for not getting back sooner. I've been on vacation.

I haven't explored it much with iOS. I don't have an iPad or iPhone and
this is just a side-just-for-fun sort of project for me. I'm open to pull
requests or can throw you a nice plug/tweet if you get something working
for this (whether it uses my plugin or not)

On Wed, Jun 13, 2012 at 10:17 AM, Arron Mabrey <
reply@reply.github.com

wrote:

I noticed the animations don't playback when scrolling on iOS, I know its
because safari doesn't execute JS when scrolling to keep the user
interaction performant.

My question is could superscrollorama be integrated with something like
jScrollpane (http://jscrollpane.kelvinluck.com/) where superscrollorama
would listen to jScrollpane events vs the native window scroll events?

Besides changing which scroll events to listen to are there any other
considerations I may be missing?
Is there an issue with my "target elements" or "pages" being wrapped
inside the jScrollpane DOM elements and not directly inside the body tag?
Would it throw off any offset calculations or anything of that nature?

Have you tried anything like this before, if so, for what reason did you
abandon it?

Thank you John for your contributions.


Reply to this email directly or view it on GitHub:
#4

Follow me on Twitter: http://twitter.com/johnpolacek


Reply to this email directly or view it on GitHub:

#4 (comment)

@pstinnett
Copy link

@arronmabrey Wanted to see if you ever pursued this? I need to accomplish something similar.

@johnpolacek
Copy link
Owner

I've been toying with the idea of creating a scrolling plugin that toggles a css animation triggered of scroll points. I'd probably build it on top of jquery transit. http://ricostacruz.com/jquery.transit/

SuperScrollorama can do some pretty crazy things, but for smaller scale stuff like a lot of people do, and to get it to work well on mobile, something like that would make more sense.

@michaellewiswilson
Copy link

I would love it if you could get it to to work on iOS. just saying.

@janpaepke
Copy link
Collaborator

Hi! The plugin was just updated to help you get it working on iOS.
Check out the new mobile_demo! :)

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

5 participants