flex-layout icon indicating copy to clipboard operation
flex-layout copied to clipboard

fxFlexOffset keeps margin after changing parent fxLayout

Open Nodarii opened this issue 6 years ago • 1 comments

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)

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?

Nodarii avatar Apr 11 '19 13:04 Nodarii

Any solution for this issue?

rmlira avatar May 25 '21 02:05 rmlira