Skip to content

Wrong overlay position for pages with vertical scroll #15385

@peleccom

Description

@peleccom

What is the expected behavior?

Overlay is fully visible. There is a padding between right side of overlay and page border

What is the current behavior?

Overlay position is wrong.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-2nsh5d

Place mat-select at the right border
Set overflow-y: scroll; for body element

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

angular: 7.2.7
angular-material: 7.3.1

Is there anything else we should know?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions