scrollIntoView not affecting percy snapshot #462
Unanswered
knownasilya
asked this question in
Support
Replies: 1 comment 3 replies
-
Hey @knownasilya! Percy only captures full page screenshots and doesn't capture scroll position. If they're not a full page screenshot, that means there's CSS that's clipping the overflow and browsers will respect that when capturing a screenshot. https://docs.percy.io/docs/debugging-sdks#screenshots-arent-a-full-page |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have code like so:
I also tried
and
But in all cases the element does not show up in the snapshot, but in the local cypress runner it does show up. Seems like the scroll is reset during the snapshot on this element (not body) that has a horizontal scroll.
Beta Was this translation helpful? Give feedback.
All reactions