brand icon indicating copy to clipboard operation
brand copied to clipboard

🐛 [BUG] - Subnav layout shift

Open stefankp opened this issue 1 year ago • 0 comments

Describe the bug

The forward slash / and subnav items shift when the page loads. On localhost, sometimes they get stuck below the headline. I've only been able to reproduce this in Safari.

https://github.com/user-attachments/assets/9c5fe7b5-fc1c-4526-9a9e-0945a472ffc4

Reproduction steps

1. Go to https://github.com/features/copilot
2. Reload the page.
3. See layout shift in Subnav at the top.

Expected behavior

1. Go to https://github.com/features/copilot
2. Subnav loads without layout shift.

Screenshots

Stuck Subnav items

Browsers

Safari

OS

Mac

stefankp avatar Mar 21 '25 14:03 stefankp