google / blockly

The web-based visual programming editor.
https://developers.google.com/blockly/
Apache License 2.0
12.51k stars 3.72k forks source link

chore: Remove obsolete workaround for resize events on iPads. #8669

Open gonfunko opened 12 hours ago

gonfunko commented 12 hours ago

The basics

The details

Resolves

Fixes #397

Proposed Changes

This PR removes a dedicated orientationchange listener for iPads, which was apparently added due to iPads not triggering resize events in response to rotating the device. This special handler failed to account for multiple workspaces, but I confirmed on an iPad that rotating the device triggers regular resize events as expected, so I've removed the workaround entirely.