[Question] Should traits be disabled / hidden when no component is selected?
Question
The style manager seems to have a nice solution for when no component is selected by showing a "Select an element before using Style Manager" message, but the trait manager does not. This is pretty easily seen in the newsletter demo:
- Select any component
- Toggling between the style and trait panel works as expected
- Delete the selected component
- The style panel options are hidden and replaced with a friendly message 👍
- The trait panel is still populated with the traits from the (now deleted) component 😕
I'd be happy to work on a pull request to make this better, but I'm not sure what the desired behavior is... Should there be a message in the traits panel similar to the one in the styles panel?
Answers (2)
Should there be a message in the traits panel similar to the one in the styles panel?
I'm would be glad to add such a functionality
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 #1021
[QUESTION] Style Manager sectors
Hey @artf , due to the lack of documentation I have a hard time figuring out, how to add component settings (traits ) to the Style Manager...
Issue #987
[BUG/Question] Dropdown indicator not displayed for a custom trait
Hello, the dropdown (select) element arrow indicator icon is not rendered when adding a custom trait to a component: I'm using following co...
Issue #3242
BUG: When Style Manager is in another div, the message "Select an element before using Style Manager" is not showing
Version: 0.16.34 What is the expected behavior? When the editor is initialized, no element is selected, so the style manager should say "Se...
Issue #631
How to refresh Classes view for active Component in the Style Manager
I'm using a trait (type=select) to change the class of a component (a "column" component, so classes representing width 1-12). After I have...
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.