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

animate-build not advancing to the next slide #3

Open
seano opened this issue Apr 7, 2012 · 1 comment
Open

animate-build not advancing to the next slide #3

seano opened this issue Apr 7, 2012 · 1 comment

Comments

@seano
Copy link

seano commented Apr 7, 2012

Hi John,

The keyboard navigation seems to break when applying multiple animate-build elements with the same -build number. Basically having 2 lines of text fly in from each side at the same time will temporarily disable advancing to the next section (but scrolling a bit with the mousewheel re-enables it) eg.

<p class="animate-build" data-build="1" data-animation="fly-in-left">Fly in from left at the same time</p>
<p class="animate-build" data-build="1" data-animation="fly-in-right">Fly in from right at the same time</p>

Here's an example: http://flightwall.net/scrolldeck-issue

I guess it's to do with the build array set up and this function trying to advance the slide:
getScrollpoint(2);
Changing getScrollpoint(3) and putting in empty animate-build steps works but there's probably a better way. Could I use Scrollorama directly to trigger multiple animations per build step instead? Any help would be much appreciated.

Also, the content on the next slide will flash visible as you scroll down before it's animation starts. Any ideas?

Thanks

@johnpolacek
Copy link
Owner

I haven't set up scrolldeck to do multiple animation per advance. I'm currently working on a new version of scrollorama, so perhaps after that I'll update scrolldeck with that feature.

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

2 participants