fix: Improve zoom animations by gonfunko · Pull Request #9584 · RaspberryPiFoundation/blockly

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@gonfunko

Copy link Copy Markdown

Contributor

@gonfunko gonfunko commented

Feb 3, 2026

The basics

The details

Resolves

Fixes #2023

Proposed Changes

This PR animates zooming in and out in the same manner as zoom to center already did. It also makes some related changes:

  • Zoom animations now work in Safari in addition to Chrome and Firefox
  • The animation duration has been reduced from 0.5 to 0.15 seconds, which both makes things feel snappier and avoids jank when rapidly zooming in or out
  • Animations are disabled for users who have configured their OS to reduce motion

@gonfunko gonfunko requested a review from a team as a code owner

February 3, 2026 18:14

@gonfunko gonfunko requested a review from maribethb

February 3, 2026 18:14

@github-actions github-actions bot added the PR: fix

Fixes a bug

label

Feb 3, 2026

@gonfunko gonfunko merged commit 3acdf5e into main

Feb 6, 2026

12 checks passed

@gonfunko gonfunko deleted the zoom-animations branch

February 6, 2026 14:45

@B-head B-head mentioned this pull request

Mar 20, 2026

1 task

gonfunko added a commit that referenced this pull request

Mar 20, 2026

gonfunko added a commit that referenced this pull request

Mar 20, 2026

@gonfunko gonfunko restored the zoom-animations branch

March 20, 2026 16:39

@gonfunko gonfunko deleted the zoom-animations branch

March 20, 2026 16:39

gonfunko added a commit that referenced this pull request

Mar 20, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@maribethb maribethb maribethb approved these changes

Assignees

@maribethb maribethb

Labels

PR: fix

Fixes a bug

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add block and bubble canvas animations on zoom in/out

2 participants

@gonfunko @maribethb