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

Feature: Changeable sticky element under 'app-header' #376

Open
matthewpull opened this issue Nov 4, 2016 · 1 comment
Open

Feature: Changeable sticky element under 'app-header' #376

matthewpull opened this issue Nov 4, 2016 · 1 comment

Comments

@matthewpull
Copy link

Description

The app-header element should support changing which element is 'sticky' when using the fixed / condensed header layout.

Expected outcome

The sticky parameter should accept a boolean value or be able to be set dynamically.

Actual outcome

This does not seem to currently be possible

Use cases

An app-header with two app-toolbars. The bottom one should be sticky on desktop but is hidden on mobile, so the top one should be sticky on mobile.

@andrewebdev
Copy link

andrewebdev commented Mar 6, 2017

Edit: Ignore my comment below, resetLayout() does work to reset the stickies in my case.

I'm running into exactly this issue at the moment. I have a toolbar that has 2 toolbars, but, on the homepage the sticky should be a different element. I've attempted to call resetLayout() on the app-header-layout element but this doesn't seem to work fo the stickies

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

No branches or pull requests

3 participants