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 in directive, scroll-shrink not working #2751

Closed
@twjacobsen

Description

@twjacobsen

Hi,

I've created a directive for a global nav-bar for my app, which creates a toolbar with some default stuff, and then transcludes page-specific content (actions etc).

Having the md-toolbar with md-scroll-shrink="" does not work, though.
As far as I can see, it never catches the $mdContentLoaded event, because the event is broadcast before my directive has loaded.

Is this a fault in my design, or is this an error in the way md-toolbar works?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions