Skip to content

[menu] inconsistent scroll strategy between body and cdkScrollable #8278

Closed
@willshowell

Description

@willshowell

Bug, feature request, or proposal:

Bug

Current behavior

On material.angular.io:

  • Mobile: scroll is caught and menu repositions itself
  • Desktop: backdrop seems to block scrolling events and cannot scroll while menu is open

Expected behavior

Menu trigger dictates reposition strategy. If that's not ideal or expected, then block should be used.

What are the steps to reproduce?

Can be seen on docs site and demo-app. The difference between mobile and desktop is a result of the fixed sidenav, specifically use of cdkScrollable, not a difference in browsers.

cc @crisbeto

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions