[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)
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.
Issue #1506
Css Media Query Issue
Hello @artf There is an issue on demo page as well as library in media query. Issue is that if user update style on mobile view first and t...
Issue #896
[BUG] Media query rules are overridden by class rules in canvas
Hi @artf , I've noticed an issue while testing one of my templates using different device configurations that supposed to trigger media que...
Issue #1865
[Bug]: Grapes change page position
Hello, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow to...
Issue #1092
[BUG]traits and storage trigger
Hey, maybe it's not bug, i'm not sure. I have traits with changeProp: true field. When I change the value of trait by UI, model is changed...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.