Skip to content

Sidenav - fixed viewports: responsiveness #30695

Open
@leomayer

Description

@leomayer

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

I follow the example from the component-side and use the example for the fixed-viewport.

When I use the example for >=600px the height of the side-navbar is correct.
When I use the example for <600px the height of the side-navbar is correct.

Reproduction

StackBlitz https://vxisiwgo.stackblitz.io
Steps to reproduce:

  1. Drag the divider to adjust the screen width
  2. if < 600px the sidenavs height changes

Expected Behavior

Either display all the time the "aqua" background or never.

Actual Behavior

"aqua" background only when view-width <600px

Environment

  • Angular: 19.2
  • CDK/Material: 19.2.
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: material/sidenavcannot reproduceThe team is unable to reproduce this issue with the information providedneeds: clarificationThe issue does not contain enough information for the team to determine if it is a real bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions