Skip to content

Conversation

@aliakhtar
Copy link

I used your plugin on a vue.js application where it was being used multiple times in the same window.

E.g imagine a list of results. Each result had an element inside that was using whenInViewport to determine if it had been scrolled past or not.

I had a lot of issues because it seems that whenever an item was scrolled past, it was removed so if the user scrolled back up, then down again, it wouldn't be detected. (Or may be there was another issue, I can't remember, but there definitely was something)

Removing this line fixed the issue for me. I've been using my fixed version for a year or so, just came across this and thought I should contribute.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a326fe3 on aliakhtar:master into 6a228f5 on dbrekalo:master.

@aliakhtar
Copy link
Author

Oh, I think this was the issue I made around the time I encountered the bug: #3

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

Successfully merging this pull request may close these issues.

2 participants