I\'m experiencing this problem on an iPhone device (iPhone 7, iOS 10, but also other iPhones too): in javascript, if I intercept the orientationchange event, inside the handler,
jQuery mobile has onOrienntetionChange event that handle orientation changing event,and there is $(window).orientationchange(); function to change orientation manually.