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

Initial state of divs not in sight is animated, rather than not-visible #17

Open
ghost opened this issue Jul 18, 2016 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Jul 18, 2016

Hello Mr. Robert,

Thank you for the great code you've provided here. I managed to get it to work along with my Routes build, but I'm facing a little issue where: when the page loads, elements that are out of sight (to the bottom of the page) have their initial state as "animated x" instead of "not-visible".

I have added class "not-visible" to the elements, but still the animated class persists on page load.

It's interesting to notice that as the page load is firing the animations, if you hit "F5" anywhere on the page, that element will animate in. And also, that if you scroll down on the page, the elements above acquire the "not-visible" class successfully; so, when you scroll back up, they animate in.

I've been banging my head over this issue with no success. Please help! ^.^

My code is at: https://github.com/Wessek/workspace.angular-bootstrap/tree/angular.scroll-animations.

@ghost ghost closed this as completed Jul 21, 2016
@ghost ghost reopened this Jul 23, 2016
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

0 participants