Skip to content

SideNavigation: support for header slot #2518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ilhan007 opened this issue Nov 26, 2020 · 0 comments · Fixed by #2520
Closed

SideNavigation: support for header slot #2518

ilhan007 opened this issue Nov 26, 2020 · 0 comments · Fixed by #2520

Comments

@ilhan007
Copy link
Member

ilhan007 commented Nov 26, 2020

Is your feature request related to a problem? Please describe.
We would like to have an API to include profile/user related data within the SideNavigation above the menu items.

Describe the solution you'd like
Add "header" slot in the SideNavigation, displayed as the top-most area within the SideNavigation

Screenshot 2020-11-26 at 10 43 30 AM

@ilhan007 ilhan007 self-assigned this Nov 26, 2020
ilhan007 added a commit that referenced this issue Nov 30, 2020
Provide API, header slot, displayed in the top-most area of the SideNavigation component to enable users adding additional information, usually profile/user data, avatar, etc.
Also includes a minor fix (min-width: 3rem;) that prevents the SideNavigation (when collapsed) from shrinking due to resize.

FIXES #2518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant