Allow component instance overrides to be inherited by all states
Currently (XD 18.104.22.168), if I drop an instance of a component and then adjust part of it (text in a button, size of the instance, etc.), that override is only applied to the selected state of the instance. So, if I have a button with many states (normal, hover, disabled, active, default action, etc.) I have to manually apply that override to each state of the instance. This is extremely tedious and error prone.
Please provide the ability to have an override of an instance be inherited by all states in that component instance.
Spas Kakarchev commented
It's so weird that isn't the default behavior. It looks more like a bug rather than how it was intended, considering menus with many items with different texts is probably the most common use of that feature.
I can't even think of a situation where you wouldn't want instance overrides to carry over to all of their states.
I can't add state without breaking my click-through demo.
My button instances inherit from a generic button with a label "Primary". All instances label have been customized "OK", "Update" etc. If I add an hover state to the master, all the instances will display "Primary" on hover instead of displaying the custom label.
Same goes for color. I don't want to fix dozens of buttons instances I have.
100% agree, it's so tedious having to change every single state of a component when I apply a different text or color.
Yep it sucks... I have a button master component with a hover state... and each time I create instance I have to resize it twice and rewrite the text inside the button also twice... which makes me question -> why not to use simple group instead?
Niklas Drugge commented
This should really be the default behavior of the component state functionality.
How can I resize all component states?
When I resize the component, it changes the size only of this state, is there any way to resize all states simultaneously?
Hatem Riahi commented
Components with States combined in Repeat grid makes very tricky results, not only because of the multiple texts and images edits needed through States but when switching between States it updates all other elements of the grid repeat Component Instances according to the last edited Instance Component's State data. Ungrouping resolves the updates, but the Repeat Grid's advantage gets lost.
Harun Alikadić commented
Yes. Component states should behave like components. This includes interactions to be copied to all states. This is essential for a menu component in which each state is active state of each menu item. But if I change the default state all should inherit.
Armando Scuro commented
man i was so happy to try out states feature, only to realize that now i have to change text, images, size for every component again. defeats the whole purpose of doing states on the MASTER component.
Off course !!!!!!
Andrew Gordon commented
When creating a new state of a button - if you already have multiples of that component, the new state doesnt keep the text overrides for the new components. It would be nice if you could keep that text change throughout.
If Default State has text layer named "label" with a text override
every other state keeps the text override on the text layer named "label".