design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Opening Sheet sets the scroll position to top

Open haneenmahd opened this issue 2 years ago • 5 comments

On Clicking the open sheet button in the test suite page, the scroll position is switched to top.

haneenmahd avatar Jan 15 '22 15:01 haneenmahd

Ca you describe your setup please.

colmtuite avatar Jan 15 '22 19:01 colmtuite

This is a piece of screenshot from your https://design-system.modulz-deploys.com test suite.

Screenshot 2022-01-16 at 8 26 33 AM

On Clicking the open sheet button, sometimes the window's scroll position is reset to the top

haneenmahd avatar Jan 16 '22 02:01 haneenmahd

But what is your setup? What browser are you using? Which OS?

colmtuite avatar Jan 16 '22 02:01 colmtuite

MacOS, Safari

haneenmahd avatar Jan 16 '22 03:01 haneenmahd

Thanks. It seems to be linking to the heading, not the window top. But it's weird, since there is no link on the trigger. Might be a Safari bug. Thanks for reporting.

colmtuite avatar Jan 16 '22 03:01 colmtuite