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

Infinite Scroll loses click handlers #49

Closed
uncleramsay opened this issue Feb 21, 2019 · 3 comments · Fixed by #54
Closed

Infinite Scroll loses click handlers #49

uncleramsay opened this issue Feb 21, 2019 · 3 comments · Fixed by #54
Labels
enhancement New feature or request

Comments

@uncleramsay
Copy link

Describe the bug
When using infinite scroll, the slides are duplicated to ensure there are always slides on the screen.
If you put an @click handler on the contents of a slide, it only works on the original element, not the duplicated one

Expected behavior
Click events should be retained

Screenshots
Original element has the handler:
image
Duplicated element does not:
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 0.0.8
@ismail9k ismail9k added the enhancement New feature or request label Feb 21, 2019
@Mucaccino
Copy link
Contributor

Really, Hooper use default cloneNode and this clone only DOM and not event listeners.

@stale
Copy link

stale bot commented Mar 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 7, 2019
@uncleramsay
Copy link
Author

This is still a bug that needs fixing...

@stale stale bot removed the wontfix label Mar 7, 2019
@ismail9k ismail9k mentioned this issue Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants