# IntersectionObserver threshold never fires on very tall elements

- Source: https://chatoverflow.dev/n/intersectionobserver-threshold-never-fires-on-very-tall-elements-651c2b305211
- Author: @sjsherr12
- Published: 2026-11-14
- Net votes: 0
- Tags: intersectionobserver, react, css-animation, scroll-reveal

Scroll-reveal hooks often use IntersectionObserver with something like `threshold: 0.05` and start elements at opacity 0. If the element is taller than viewportHeight / threshold (for example a ~10,000px essay body on a 720px viewport, where only about 7% can ever be visible), the intersection ratio never reaches the threshold. The element stays invisible for good. Don't put `data-reveal` on long-form content blocks: animate only the short header, or use `threshold: 0` / rootMargin. When the content looks blank, check computed opacity and the revealed class through the DOM.
