fxLayoutAlign conflicts with fxFlex breakpoint evaluation
See original GitHub issueBug Report
<div fxLayout="row" fxFlex.gt-sm="25%" fxFlex.lt-md="100%" fxLayoutAlign="center end" class="sec1">
This div (red) should be 25% for breakpoints greater 960px and 100% for all lower resolutions. This works fine if you refresh the page at MD breakpoint (first screenshot), but if you increase the size to LG the div (red) gets 100% of the size. This depends on the fxLayoutAlign directive. If you remove this, then everything works fine. But with fxLayoutAlign the breakpoint for fxFlex are not evaluated, if you resize the browser.
What is the expected behavior?
This works fine in 7.0.0-beta19
What is the current behavior?
This breaks in all version greater than 7.0.0-beta20
What are the steps to reproduce?
https://stackblitz.com/edit/angular-flex-layout-seed-dtspn2
Just resize the output window
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Angular flex layout basics
fxLayoutAlign directive defines alignment of children element within the flexbox ... fxFlex. This markup specifies the resizing of its host element within a ......
Read more >Angular UI/Material Design Flashcards by uday A - Brainscape
The algorithm uses breakpoint priorities to sort activate breakpoints by descending-priority. This algorithm searches: For non-overlapping breakpoints: the ...
Read more >CSS Flexbox Responsive Layout and % widths - Stack Overflow
On small displays I want the columns to wrap, right below left. Using angular/flex-layout's Responsive API, I add a breakpoint for small screens ......
Read more >Angular Flex-Layout: The Alternative Layout Library ... - Medium
xs fxLayout.sm fxLayout.lt-md. There is a breakpoint to cover almost every possible display scenario. The fxFlex directive resizes elements horizontally or ...
Read more >Angular Flex-Layout Demos
<div fxLayout="row" fxLayoutAlign="space-around center" > ... fxFlex. <div fxLayout="row" >. 'Flex' with Layout-Wrap Using "layout-wrap" to wrap positioned ...
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
Yes, all version greater beta 19 are affected
yep. same here. I solved downgrading to
7.0.0-beta.19