aws-amplify / amplify-studio

AWS Amplify Studio (Formerly Admin UI)
136 stars 31 forks source link

When hidden by Figma's “show/hide function”, sometimes the output code has display:none and sometimes it does not. #1120

Open InsurTechLab-Amp opened 1 month ago

InsurTechLab-Amp commented 1 month ago

Describe the feature you'd like to request

I would like the display:none to appear in the code output by the plugin when the hide feature is set on Figma.

As it stands now Frame, Text, and image that do not contain instances will output display:none.

However, for components, instances of components, and frames that contain instances, display:none is not output in the code (and the code cannot be output in the first place).

Describe your use case and how the feature would improve your experience.

No need to add display:none on the code, just hide the part you want to hide on Figma.

Describe alternatives you've considered

Override display:none in the Wrapper.

Additional context

No response