Skip to content

Request: Sticky navbar affixed to container on scroll #49

Closed
@rdhar

Description

@rdhar

Is your feature request related to a problem? Please describe.
Following the introduction of the Fixed Navbar feature by issue #326, would it be possible to include a sticky navbar which affixes to the top/bottom of its container upon reaching a certain scroll threshold? Optionally, it could be expanded upon to hide the navbar on scroll down and reveal upon scrolling up?

Describe the solution you'd like

Describe alternatives you've considered

  • Mini.css - Landing Page
    Nav bar sticks to the top of the viewport on both desktop and mobile devices alike.
  • Ant Design - Affix
    A more granular breakdown and demonstration of the sticky navbar behaviour.
  • Headroom.js (optional)
    Admittedly, this is a script but the implementation of the "smart" sticky navbar is very smooth and would be ideal to target, if at all possible. More than happy for this to be offloaded to a separate issue/request if that makes feature management easier.

Thanks for your time and I really appreciate your suggestion to create this ticket from the original issue #2051. Hope you have a great day!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions