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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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
@github-actions github-actions bot added the PR: chore General chores (dependencies, typos, etc) label Nov 22, 2024
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.
2 participants