Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Dangling md-subheader and md-toolbar #2825

Closed
@nobarany

Description

@nobarany

When a md-toolbar with md-scroll-shrink shrinks, the following subheader or md-toolbar doesn't move up to the top of the page, and it just dangles in the middle.
This codepen shows the problem for subheader, which appears only in Chrome (related to issues #1647 and #1726):
http://codepen.io/anon/pen/rVeaaL

But the problem with a second toolbar happens in Firefox as well:
http://codepen.io/anon/pen/QbNwQj

Interestingly, by adding md-scroll-shrink to the second toolbar you can achieve the behavior that you'd expect from the above code (i.e., the second one doesn't shrink).
http://codepen.io/anon/pen/MwyYvj

Metadata

Metadata

Assignees

Labels

needs: demoA CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issueneeds: feedbackThe issue creator or community need to respond to questions in this issueneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions