Search dropdown has layout shift on anon view

Only happens when logged out:

2 Likes

Good catch :slight_smile:

Probably easy to fix. It’s because of this rule. If we remove it, the issue disappears:

1 Like

Additional info: while the input doesn’t shift when hovering the button when logged in, there’s a pixel-sized white flash in the button’s bottom corners:

chrome_jtg5cgRbEq

I think it’s linked to the same issue, and we see the behavior better if we increase the transition duration here:

Another fix could be just dropping all of the changing border and padding declarations that happen on header icons on hover and selected states… :innocent:

It looks clean by default, but once you change a size or icon it pretty much falls apart.

1 Like