Bug, feature request, or proposal:
Bug.
The "cdk-overlay-connected-position-bounding-box" div, style left changes with the scroll top, when ovelayX: center;
const positionStrategy = this.overlay .position() .flexibleConnectedTo(host) .withPush(true) .withDefaultOffsetX(0) .withPositions([ { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top', offsetY: this.offsetY }, { originX: 'center', originY: 'top', overlayX: 'start', overlayY: 'bottom', offsetY: -1 * this.offsetY } ]);
What is the expected behavior?
"cdk-overlay-connected-position-bounding-box" div's left should be correct for horizontally center.
What is the current behavior?
"cdk-overlay-connected-position-bounding-box" div dismissed after scrolling down a certain page, since a large offset of style 'left'
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Bug fixing
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/cdk": "^6.0.0",
"@angular/core": "^6.0.5",
"@angular/material": "^6.0.0",
"typescript": "~2.7.2",
Chrome 67
IOS 11,
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36'
Is there anything else we should know?
I just did upgrade the project from angular 5 to angular 6.
Bug, feature request, or proposal:
Bug.
The "cdk-overlay-connected-position-bounding-box" div, style left changes with the scroll top, when ovelayX: center;
const positionStrategy = this.overlay .position() .flexibleConnectedTo(host) .withPush(true) .withDefaultOffsetX(0) .withPositions([ { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top', offsetY: this.offsetY }, { originX: 'center', originY: 'top', overlayX: 'start', overlayY: 'bottom', offsetY: -1 * this.offsetY } ]);What is the expected behavior?
"cdk-overlay-connected-position-bounding-box" div's left should be correct for horizontally center.
What is the current behavior?
"cdk-overlay-connected-position-bounding-box" div dismissed after scrolling down a certain page, since a large offset of style 'left'
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Bug fixing
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/cdk": "^6.0.0",
"@angular/core": "^6.0.5",
"@angular/material": "^6.0.0",
"typescript": "~2.7.2",
Chrome 67
IOS 11,
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36'
Is there anything else we should know?
I just did upgrade the project from angular 5 to angular 6.