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

Opening Sheet sets the scroll position to top

Open verbose117 opened this issue 3 years ago • 5 comments

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

verbose117 avatar Jan 15 '22 15:01 verbose117

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

verbose117 avatar Jan 16 '22 02:01 verbose117

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

colmtuite avatar Jan 16 '22 02:01 colmtuite

MacOS, Safari

verbose117 avatar Jan 16 '22 03:01 verbose117

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