-
Notifications
You must be signed in to change notification settings - Fork 517
Closed
Description
This sounds silly at first glance, but the use case is to have an Infinity
rootMargin
in a specific direction, e.g. Infinity 0 0 0
.
The use case, in this case, is to trigger animations as the user scrolls down to them, but not to trigger them when the user scrolls up -- the animations should be in the "already performed" state in that case. The current workaround is to give a very large amount of pixels as the top margin, but it's not as universal as having some potentially optimizable way of always considering elements off a specific direction as intersecting.
Metadata
Metadata
Assignees
Labels
No labels