Skip to content
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

Auto hide for toolbar-row #16659

Closed
SvenBudak opened this issue Aug 1, 2019 · 3 comments
Closed

Auto hide for toolbar-row #16659

SvenBudak opened this issue Aug 1, 2019 · 3 comments
Labels
area: material/toolbar feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions

Comments

@SvenBudak
Copy link

In basicly every WebApp we have a toolbar, and in alot of them we need a "scroll out" effect for single mat-toolbar-rows.

I found this tutorial: https://osvaldas.info/examples/auto-hide-sticky-header/?lazy-plus but i was not able to implement this in a clean working way. also the bar feels not smooth here.

it is very important that people can handle it on single toolbar rows not on the whole mat-toolbar.

@SvenBudak SvenBudak added the feature This issue represents a new feature or feature request rather than a bug or bug fix label Aug 1, 2019
@andrewseguin andrewseguin added the P4 A relatively minor issue that is not relevant to core functions label Aug 1, 2019
@SvenBudak
Copy link
Author

SvenBudak commented Aug 9, 2019

We found a solution that will help maybe some people. Demo: https://header-autohide.netlify.com

Here the Code: https://github.com/MurhafSousli/scroll-direction-directive/blob/master/src/app/scroll-direction.directive.ts

I still hope for a better working solution that works on the fly inside material. Because this solution require some manually adding of CSS etc...

@jelbourn
Copy link
Member

Closing this since we don't plan any really expanding mat-toolbar with further features at this point. We may eventually create a new app-bar component that supersedes the toolbar, but have no immediate plans for it.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: material/toolbar feature This issue represents a new feature or feature request rather than a bug or bug fix P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

3 participants