Closed
Description
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
- scroll to down till click here button is visible (scrolling required to hide browser top bar)
- tap on button Overlay appears but in wrong place
- 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