Skip to content

Navbar height shifts when search icon appears on scroll (layout shift) #13

Open

Description

@sm-28601

Current Behavior

On the Layer5 Community Forum (https://discuss.layer5.io/), when scrolling down the page, a search icon appears in the navbar. When this icon appears, the navbar height reduces, causing a noticeable layout shift.

This results in a slightly jarring visual effect while scrolling.


Expected Behavior

The navbar height should remain consistent during scroll. The appearance of the search icon should not cause any change in navbar height or layout shift.


video

m7.mp4

To Reproduce

  1. Go to https://discuss.layer5.io/
  2. Start scrolling down the page
  3. Observe the search icon appearing in the navbar
  4. Notice the navbar height reducing and causing a layout shift

I would be happy to work on this improvement if approved.

Contributor Guides and Resources

Activity

  1. added
    kind/bug
    on Feb 27, 2026
  2. sm-28601 commented on Feb 27, 2026

    @sm-28601
    Author

    @saurabhraghuvanshii Please assign this issue to me.

  3. ritzorama commented on Nov 4, 2026

    @ritzorama

    Hi @sm-28601, checking in: this issue has been assigned to you for 250 days with no recent activity. Are you still planning to work on it? Please post a quick status update within the next 14 days. If there's no response, I'll release the assignment so someone else can pick it up. Thanks!

  4. ritzorama commented on Nov 11, 2026

    @ritzorama

    Hi @sm-28601, following up on my check-in from last week - I have not heard back, so I will release this assignment in 7 days so someone else can pick it up. If you are still working on it, just let us know here. Thanks!

  5. ritzorama commented on Nov 18, 2026

    @ritzorama

    Hi @sm-28601, I have not heard back since my check-in last week, so I am releasing this assignment so others can pick it up. Thank you for your interest, and you are welcome to ask for it again if you would like to work on it.

  6. added
    help wanted
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedkind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions