I’ve built a collapsible Sidebar that is always shown in desktop mode and hidden in tablet and phone mode. It works fine with one problem: When I switch to tablet or phone mode, show and hide the sidebar and then switch back to desktop with the hidden bar, the sidebar stays hidden. I assume that the display:hidden;
set by the interaction has priority over the style from the desktop view.
So, what I’m looking for is a way to force the display attribute to its initial state and ignore the value set by the interaction as soon as we switch the viewport. Is that possible in Webflow?