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.
when you resize a component with multiples states (for exemple a button with his hover and clicked) it would be great to resize automatically each states in a same time.
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.
Lucas Matos commented
I have animated icons with auto animate and wish to use them in two sizes: Small size in the menu and big size in the features page.
When I scale up or down the component it only scale that one specific state. We need it a way to scale all states so we can have a few less components. and a fast workflow.
When using states for controls, there is no logic in making each states a different size or label. It would save a lot of time and mistakes to lock some attributes that will always be identical between states.
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".