react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Bug]: Content jumping up and down when scrolling

Open M1ck0 opened this issue 6 months ago • 7 comments
trafficstars

Summary

When I scroll on Opera on iPhone, there is a bug with the page

Page

https://react.dev/blog/2025/04/23/react-labs-view-transitions-activity-and-more

Details

Here is the video of the issue

https://www.veed.io/view/6dd44400-f747-4dac-aca5-f6578ea5d923?panel=share

M1ck0 avatar Apr 25 '25 09:04 M1ck0

This is not a critical issue; it's a minor browser glitch that occurs occasionally. It's not a serious bug.

bhanushakya2004 avatar Apr 25 '25 15:04 bhanushakya2004

cc @rickhanlonii might be nice to dig in unless we know what this is

gaearon avatar Apr 26 '25 01:04 gaearon

@gaearon This looks like some component in the text is making this bug. It doesn't exist on other pages, even tho the layout is same

M1ck0 avatar Apr 29 '25 20:04 M1ck0

@bhanushakya2004 it occurs always on this page on every browser. To me, and probably other users, it is really annoying, since I can't read the part of the text without doing gymnastics on the page.

M1ck0 avatar Apr 29 '25 20:04 M1ck0

Yeah I'm seeing this on other pages too, it's super super annoying. I think the issue is that when the sandboxes are loaded in the scroll position changes, but that was working before so I'm not sure what broke.

rickhanlonii avatar May 16 '25 16:05 rickhanlonii

I can repro this even in the markdown preview in VS Code, especially around the "Animating navigations" sandpack. @rickhanlonii Let me take a look please, maybe I'll be able to fix this.

BartoszKlonowski avatar May 27 '25 09:05 BartoszKlonowski

Yeah, please take a look

rickhanlonii avatar Jun 02 '25 16:06 rickhanlonii