Responsive element doesn't resize on orientation change
I made an element in Animate (html canvas) that is integrated in a website using WordPress.
The element is responsive, and resizes correctly when I resize the browser or when it loads to a mobile devices.
But when I change the orientation of the device, the element doesn't resize to fit the screen like it's meant to, unless I refresh (reload).
changing the device's orientation back and forth from portrait to landscape and back might make it resize, but that's obviously not good enough.
