Skip to content

Wrong snack-bar width  #15998

@LastDragon-ru

Description

@LastDragon-ru

What is the expected behavior?

Valid snack-bar width.

What is the current behavior?

Snack-bar's width depends from window's height :) (this is because snack-bar uses Breakpoints.Handset, seems Breakpoints.XSmall is more suitable in this case?)

2019-05-10_18-16-02

What are the steps to reproduce?

  1. Go to https://material.angular.io/components/snack-bar/examples
  2. Set windows size like on gif
  3. Press on Pizza

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Desktop, Chrome/Firefox, Material: 7.3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/snack-barmaterial specIssue related to the Material Design spec https://material.io/design/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions