Rick Byers
Feb 24, 2017 · 1 min read

Whether or not this is true depends on the viewport tag in use, right? When using a recommended mobile viewport tag, an orientation change (at least 90° on a non-square display) changes the layout viewport size. And so firing a resize event makes sense. I can believe other cases get a spurious resize though. Orientation change is expensive enough that a single resize event isn’t going to cause any problems (unlike zooming which happens at 60fps).

Rick Byers

Written by

Software Engineer at #Google working on the web platform and #Blink. Leading the web platform predictability effort to “make the web just work for developers”.