Skip to content

MatSidenavContainer scroll events not working as documented #10884

@mackelito

Description

@mackelito

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Able to react to scrolling inside the <mat-sidenav-container>

What is the current behavior?

Unhandled Promise rejection: Cannot read property 'scrollable' of undefined ; Zone: ; Task: Promise.then ; Value: Error: Cannot read property 'scrollable' of undefined TypeError: Cannot read property 'scrollable' of undefined at new SidenavResponsiveExample

What are the steps to reproduce?

https://stackblitz.com/edit/angular-rgkuk8?file=app/sidenav-responsive-example.ts

What is the use-case or motivation for changing an existing behavior?

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

Is there anything else we should know?

Metadata

Metadata

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions