Issue #2938✓ SolvedOpened August 4, 2020by tranthanhhoa3 reactions

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

Quick answerby artf2

Will be fixed in the next release. Thanks

Read full answer below ↓

Question

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"

Answers (2)

👍 Most helpfulartfAugust 28, 2020

Will be fixed in the next release. Thanks

Ju99ernautAugust 17, 2020

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.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.