Skip to content

Fix init viewport detection

Compare
Choose a tag to compare
@kaesonho kaesonho released this 17 Feb 19:15
· 355 commits to master since this release

#144 - with #134, it causes a regression that on page init if the parent is not in viewport, we stop all the viewport detection for the children. This release fix the issue, for a node if its parent is not in the viewport, we don't do init viewport detection for performance improvement, but we still subscribe a scrollEnd listener to handle the viewport detection.