Extend Padding/Stack feature to work in web view
Currently padding allows parent components to change size when the child component changes size in the design mode. This works for all elements including components. Adding different sized states to the child component will cause the parent component to react correctly.
However, in presentation mode, the padding state seems to be locked. If a child component changes, the parent (whose size was determined by the child's + padding) won't adjust the padding to the child's new size.
If the padding feature was extended to the web mode it would greatly improve the workflow. If this could be added to the stacks feature as well it would be amazing!
Thanks so much for this team's continued innovation.
-
fbastudio commented
_Toggle state_ is a smart way to quickly manage on/off states.
From this statement, I used _Toggle state_ to easily manage open/closed menu of a component-A.My component-A is nested in a component-B which is also a vertical pile.
Default state of component-A is _closed_ (three assets are superimposed, only one is visible, the purpose is to create a drop down menu when _open_).In Design mode, when I set component-A Toggle state to _open_ (which is the _toggle state_), component-B's vertical pile is updated (height increases).
In the Preview window, when I set component-A _Toggle state_ to _open_ (toggle state), component-B's vertical pile remains the same : component-A drop down menu works fine, but assets appear superimposed with component-B instead of updating the pile's height.
Regards