The resize event on touchscreen
Posted by: QuirksBlog,
on 10 Mar 2016 |
View original | Bookmarked: 0 time(s)
Yesterday I retested the resize event on touchscreen devices. Where the 2013 tests mostly showed a chaotic jumble, right now it’s becoming more clear where the resize event is heading.The resize event fires when the user resizes a viewport. But which viewport? Touchscreen devices have two: the layout and the visual viewport. (See also this page for a visualisation.)Most browsers fire the resize event whenever the layout viewport is resized, though Safari and IE don’t when the meta viewport tag is...