fxFlexOffset keeps margin after changing parent fxLayout
Bug Report
What is the expected behavior?
fxFlexOffset applies only one margin at a time
What is the current behavior?
after changing fxLayout(from column to row or vice versa) fxFlexOffset applies new margin, but when keeps old one.
What are the steps to reproduce?
- resize to
sm - resize to
md
expected result: third block margin is added to only one side. actual result: third block margins are applied to both(left and top sides)
-
StackBlitz using latest
npmnightly release:
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Package Version
@angular-devkit/architect 0.13.1 @angular-devkit/build-angular 0.13.1 @angular-devkit/build-optimizer 0.13.1 @angular-devkit/build-webpack 0.13.1 @angular-devkit/core 7.3.1 @angular-devkit/schematics 7.3.1 @angular/cdk 7.3.1 @angular/cli 7.3.1 @angular/flex-layout 7.0.0-beta.23 @angular/material 7.3.1 @ngtools/webpack 7.3.1 @schematics/angular 7.3.1 @schematics/update 0.13.1 rxjs 6.3.3 typescript 3.2.4 webpack 4.29.0
Is there anything else we should know?
Any solution for this issue?