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

Wrong element is grabbed on scrolling #1

Open
edalzell opened this issue Jun 15, 2014 · 0 comments
Open

Wrong element is grabbed on scrolling #1

edalzell opened this issue Jun 15, 2014 · 0 comments

Comments

@edalzell
Copy link

Sample file has 9 divs.

See sample code. I have manually filled my array with all the divs. When I scroll down I get,
[Log] ["1 in from bottom."] (ba-debug.min.js, line 12) [Log] ["1 out top."] (ba-debug.min.js, line 12)

I should get '1 out top' and '4 in from bottom'. It seems the same element is hit twice?

Tested on Safari/Mac and Chrome/Mac.

All files here: https://gist.github.com/edalzell/28b763a11d5984eec339

@edalzell edalzell changed the title Initial visible divs aren't tracked Wrong element is grabbed on scrolling Jun 15, 2014
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

1 participant