Skip to content

Scroll events not getting fired when content inside md-content is scrolled #802

Closed
@ghostofcain

Description

@ghostofcain

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When you scroll the page and the md-content's height is larger than the available space, page scroll events should be fired.

What is the current behavior?

They don't get fired.

Please note, this was working correctly in the alpha5 version but now it's broken in v2.0.0.-alpha6.

To add further information, consider this to be the layout:

<md-sidenav-layout>
    <md-sidenav #sidenav>
        <md-nav-list>
            ...
    </md-sidenav>
    <md-toolbar style="background-color: #2db1eb; color: white">
            ...
    </md-toolbar>
    <router-outlet></router-outlet>
</md-sidenav-layout>

When the content placed inside is larger than the available height, the scroll events are not firing. This is preventing me from implementing infinite scroll on various components.

Can you please let me know if there is a workaround for this?

Many thanks,

Metadata

Metadata

Assignees

Labels

needs: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions