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.

toolbar: md-scroll-shrink does not work if content is scrolled too soon after page load #10413

@marshall007

Description

@marshall007

Actual Behavior:

  • What is the issue? Specifically in conjunction with ng-cloak, but also in many other cases, md-scroll-shrink does not work if the sibling md-content is scrolled within 5 seconds of loading the page.
  • What is the expected behavior? It should work as soon as the DOM is loaded.

CodePen (or steps to reproduce the issue):

  • The existing toolbar Scroll Shrink demo reproduces this behavior so long as you attempt to scroll the md-content within 5 seconds.

Angular Versions:

  • Angular Version: 1.6.1
  • Angular Material Version: 1.1.3

Additional Information:

  • Browser Type: Chrome
  • Browser Version: 56
  • OS: MacOS 10.12.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions