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 only works with explicit size of md-content #1089

@matthiasg

Description

@matthiasg

The way its implemented right now [md-scroll-shrink] does not work with generated content for our main use case of generated pages inside the content (e.g an arbitrary html snippet, might be a list or something else).

That way the designer would have to know beforehand how large the remainder of the screen is. Usually [flex] could be used, to fill the rest of the vertical space , but that does not seem to work here.

This happens because the toolbar is listening only on scroll events of the content itself which only get emitted when the content area itself is specifically set to an absolute height smaller than the content.

Basically this make this directive only useful when multiple such headers and content areas are supposed to be underneath each other not for the majority use case of one toolbar with one content are on the screen or am i missing something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    - Lots of CommentsP4: minorMinor issues. May not be fixed without community contributions.needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityresolution: won't fixThere are no resources to fix this issue, the priority is too low, or it doesn't align w/ MD spec.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions