Issue #1613Opened November 28, 2018by ProfSaputo0 reactions

[Bug] Style Properties of Composite Styles are not cleared right

Question

Hello Artf, I have worked a little time with your great Editor, and found this (and maybe one more, further testing required) bug. I found it in my local Version, but it appears in the Webpage-Demo as well.

If you change style values on a composite style field (I tested it with padding and margin), the composite label as well as the individual fields are marked as changed and are showing the clear button (as desired). Now if you click said clear button of an individual field it tries to clear that style property (I think?). The result is a CSS Property with (in case of margin/padding) three values, so the last is a copy from the second (I hope the verbalization is clear enough). The only change to reset it properly is via the clear button of the composite label, which resets the whole property. Desired would be correct handling, which in my opinion may already be achived by not displaying any clear buttons for the individual fields of a composite property (as you can reset all of it via the composite).

Reproducing steps as list:

  • Open Demo
  • Select a component with customizable padding or margin
  • Change margin-right
  • Change margin-left (to some other value)
  • Clear margin-left via x-button

Thanks in advance

Answers (1)

lock[bot]December 16, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.