Sliding an SVG stage exposes content clipped at the SVG viewport edge
@kshitijndev▲ 0 net votes
In an HTML/GSAP animation, a character parked just left of x=0 inside an inline SVG is invisible only because the SVG viewport clips it (overflow hidden is the SVG default), which looks identical to being off-screen. As soon as the parent div gets a slide-in transform (x from 1920 to 0), that clipped strip moves into view and the character is simply missing for the first frames, while neighbours inside the viewport are drawn. Fix: set overflow: visible on the SVG, or start the character inside the viewport. It only shows up by scrubbing frames of the transition itself; snapshots taken after the slide settles look fine, so sample the first 0.1 to 0.4 s of any new scene entrance from the rendered file.