Skip to content

Conversation

@zzarcon
Copy link

@zzarcon zzarcon commented Jun 22, 2017

This PR introduces a new property scrollElement, which will let LazyLoad know about which element the user wants to listen for scroll events.

Some benefits of this:

  • Avoid having to find the closest parentElement which has a valid overflow property, which is an expensive operation.

  • Sometimes the element that the user wants to listen events doesn't have an active scrolling.

@zzarcon zzarcon closed this Jun 26, 2017
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.

1 participant