If you’re working with JavaScript’s Intersection Observer API @pomber’s Intersection Observer Debugger library is so useful. Easily able to visualize the root (purple) that triggers if elements are intersecting or not.
github.com/pomber/intersection-o…