Using window.addEventListener('resize', handleResize)
Open this in a iPad 14.x in safari.
"minimize safari" / go to startscreen.
Go back to safari
innerWidth now shows some strange widths
window.innerWidth
e.target.innerWidth