This is a backport PR for branch 45-x-y
trop[bot]

#54395: fix: clamp zoom levels to the displayable range and keep the page scale when visual zoom limits change

Merged
Created: Sep 25, 2026, 11:14:07 AM
Merged: Sep 25, 2026, 1:49:05 PM
1 comments
Target: 45-x-y

Backport of #54374

See that PR for details.

Notes:

  • Fixed zoom in/out getting stuck after zooming past the 25%-500% range.
  • Fixed setVisualZoomLevelLimits() shrinking pages when the minimum is under 1.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Sep 25, 2026, 11:11:20 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron