app-layout icon indicating copy to clipboard operation
app-layout copied to clipboard

Feature: Changeable sticky element under 'app-header'

Open matthewpull opened this issue 9 years ago • 1 comments

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.

matthewpull avatar Nov 04 '16 12:11 matthewpull

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

andrewebdev avatar Mar 06 '17 12:03 andrewebdev