Possible to force a state change on breakpoints?


I am using a plugin that requires me to have one menu for both desktop and mobile views.

On mobile views, I use a hide/show animation to create a tabs-like experience.

However, if a user goes from mobile screen size back to desktop, the hidden state for the tab-like divs will remain because it was set by the animator, and you cannot see the menu.

Is it possible to “force” override a preexisting state when switching between breakpoints, so my tab divs will always show on landscape views?

No way to answer without link + what plugin? (Maybe you should ask this under the plugin forum/github and so on).

Code related:

Anyway, only devs resize screen from desktop to mobile to dekstop (Very rare for users).