Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Responsive element doesn't resize on orientation change

Explorer ,
Mar 28, 2017 Mar 28, 2017

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.

290
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Mar 28, 2017 Mar 28, 2017

It's a good question. I afraid you didn't use any detection for rotation. I'm (not sure about it) think that default resonsive file from Animate cant detect rotation event. If you reload page your design fit new layout and thats all.

It's not real resonsive feature in Animate

Pawel

Translate
LEGEND ,
Mar 28, 2017 Mar 28, 2017

How are you detecting resize events?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 28, 2017 Mar 28, 2017
LATEST

It's a good question. I afraid you didn't use any detection for rotation. I'm (not sure about it) think that default resonsive file from Animate cant detect rotation event. If you reload page your design fit new layout and thats all.

It's not real resonsive feature in Animate

Pawel

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines