-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Reproduction
https://stackblitz.com/edit/angular-xcflxa?file=src%2Fapp%2Fapp.component.html
Please look into popover.service.ts
-------------------
ConnectionPositionPair is: [
{
originX: 'start',
originY: 'top',
overlayX: 'start',
overlayY: 'top',
},
{
originX: 'start',
originY: 'top',
overlayX: 'start',
overlayY: 'top'
},
];
Steps to reproduce:
- Open stackblitz
- Click on the button
Expected Behavior
There should be a way to open popover at the top of the button
Expection position is shown in below sketch:

Actual Behavior
Popover is only opening at the bottom
What behavior did you actually see?
Environment
"@angular/animations": "^7.1.0",
"@angular/cdk": "^7.1.0",
"@angular/common": "^7.1.0",
"@angular/compiler": "^7.1.0",
"@angular/core": "^7.1.0",
"@angular/forms": "^7.1.0",
"@angular/http": "^7.1.0",
"@angular/material": "^7.1.0",
"@angular/platform-browser": "^7.1.0",
"@angular/platform-browser-dynamic": "^7.1.0",
"@angular/platform-server": "^7.1.0",
"@angular/pwa": "^0.7.5",
"@angular/router": "^7.1.0",
"@angular/service-worker": "^7.1.0",
"@angularclass/hmr": "^2.1.3",
- Browser(s):
Chrome - Operating System (e.g. Windows, macOS, Ubuntu):
Windows