I have a container widget that is placed positionally on top of a code sandbox widget that I want to conditionally hide.
I have set the container widget CSS property of display to none by applying a conditional class on the container widget. This class is applied via the ‘Additional CSS Classes’ panel in the container widget configuration, as well as listening to state change on the code sandbox widget. This class sets the CSS property of display
to none
on the widget.
{{#if w_widget1.state.hideContainer}}
hidden
{{/if}}
When I do this, the container widget is hidden, yet it is still clickable. How can I fully hide my widgets using conditional classes set in this manner?