Skip to content

Android chrome: ConnectedOverlay position wrong when browser topbar is hidden #9334

Closed
@abdulkareemnalband

Description

@abdulkareemnalband

Bug

ConnectedOverly is positioned slightly below than expected location, if preferred position is {originY: 'top',overlayY: 'bottom'} aka on top

What is the expected behavior?

Overlay should be positioned correctly

What is the current behavior?

Overlay positioned slightly below

What are the steps to reproduce?

https://stackblitz.com/edit/cdkoverlayexample

  1. scroll to down till click here button is visible (scrolling required to hide browser top bar)
  2. tap on button Overlay appears but in wrong place
  3. Scroll up till topbar visible, Overlay is positioned correctly

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

angular : 5.0.3
angular cdk:5.0.0
browser: android chrome 63

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/overlaycannot reproduceThe team is unable to reproduce this issue with the information provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions