grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

BUG: "display" property of Style Manager doesn't sync with Layer Manager

Open tranthanhhoa opened this issue 6 years ago • 2 comments

Version: v0.16.18

How to reproduce:

  • Select a component
  • Choose Layer tab
  • Hide component
  • Back to Style tab
  • Check "display" property Alt Text

Expected:

  • "display" should be "none"

Actually:

  • "display" is still "block"

tranthanhhoa avatar Aug 04 '20 09:08 tranthanhhoa

The StyleManager doesn't seem to update when styles are changed from somewhere else...the display property does get updated once you deselect and select the component again. Probably the StyleManager needs to updated to listen for changes to display property from the LayerManager.

Ju99ernaut avatar Aug 17 '20 13:08 Ju99ernaut

Will be fixed in the next release. Thanks

artf avatar Aug 27 '20 21:08 artf