Open matthewpull opened 7 years ago
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
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.