CDK Overlay - Position Strategy with zoom css on parent
See original GitHub issueBug, feature request, or proposal:
If you are using the zoom
CSS property to scale down UI elements the positioning of the CDK Overlay are calculated incorrectly.
What is the expected behavior?
Overlay positions properly as the non-zoomed styled div
What is the current behavior?
Overlay positions are calculated incorrectly when the zoom: 0.9
css property is on the parent container.
What are the steps to reproduce?
https://stackblitz.com/edit/cdk-overlay-zoom
What is the use-case or motivation for changing an existing behavior?
We have a Chrome only application that we use the zoom
css property to scale down the UI. Using other methods of scaling does not work, so this is what we have to do.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular - 5.2.10 CDK - 5.2.5
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How do I configure a material cdk overlay position strategy ...
Goal. My objective is to create an overlay with the Angular overlay CDK, that follow these rules: Never position overlay outside the viewport. ......
Read more >Overlay | Angular Material
The CDK overlays depend on a small set of structural styles to work correctly. ... There are two position strategies available as part...
Read more >Angular — Create your own Overlay with customized position ...
Angular — Create your own Overlay with customized position strategy builder to attach Overlay to any element Disclaimer: This is an article ...
Read more >@angular/cdk | Yarn - Package Manager
The Angular team builds and maintains both common UI components and tools to help you build your own custom components. The team maintains...
Read more >CHANGELOG_ARCHIVE.md - components - Fossies
... @angular/cdk/overlay has a new positioning strategy available, FlexibleConnectedPositionStrategy , which intelligently handles sizing and positioning to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any news?
It’s angular material ver 10 now and this issue is still open!