Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

gonfunko
Copy link
Contributor

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.

@gonfunko gonfunko requested a review from a team as a code owner November 22, 2024 20:30
@gonfunko gonfunko requested a review from cpcallen November 22, 2024 20:30
@github-actions github-actions bot added the PR: chore General chores (dependencies, typos, etc) label Nov 22, 2024
@gonfunko gonfunko merged commit 6118ffe into google:develop Dec 3, 2024
11 checks passed
@gonfunko gonfunko deleted the ipad-resize branch December 3, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: chore General chores (dependencies, typos, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Orientation change event bound in inject.js doesn't work for multiple blockly workspaces on one page.
3 participants