-
Notifications
You must be signed in to change notification settings - Fork 85
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
feat: add prop alwaysScrolled to header #716
feat: add prop alwaysScrolled to header #716
Conversation
Thanks for your PR! 🎉 🎉 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your PR! I'd like you to change the name of the prop to sticky
and also add this to app-shell
and pass it down to app-header
.
packages/components/src/components/telekom/app-header/app-header.tsx
Outdated
Show resolved
Hide resolved
Thanks for adding your changes. Can you please run |
…mato-a/scale into feat/add-prop-always-scrolled-to-header
thanks a lot @mato-a - i'll publish this to NPM today and let you know ✌🏻 |
@nowseemee great 👍 Thanks for guidance 😉 |
@mato-a, it's released: |
Add property alwaysScrolled to header
If this prop is set to true header will be always thin even if the page was not scrolled down.
Class
header--sticky
will be added always to the header.This is useful for example in fullscreen mode where I'd like to make the navbar as small as possible.