Releases: BetterTyped/react-zoom-pan-pinch
Releases · BetterTyped/react-zoom-pan-pinch
v4.0.3
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2026-04-07)
Bug Fixes
- 🐛 lint (9af6872)
- 🐛 linting issues (b0bdd0f)
- 🐛 setup and linting (a01837e)
- 🐛 story (4afb583)
- 🐛 typecheck (4933ebd)
- api: fire zoom callbacks from programmatic zoomIn/resetTransform (665bff5), closes #369 #553
- bounds: respect disablePadding and explicit position props in bounds calculation (41f2f54)
- build: resolve TS7053 index-signature errors in stories utils (8f7e5a8)
- core: fix all failing tests and restore elastic zoom bounds (4a19bea), closes #396 #438 #516 #553
- core: refine initialization, reset, and scale safety (81e7c67), closes #363 #369 #259 #305 #250 #478 #498 #404 #406 #168 #323 #463 #495 #431 #241 #392 #483 #524 #286 #479 #427 #364 #432 #408 #547 #487 #513 #423
- pan: handle stale mouse/keyboard state across iframe boundaries (69d1f41)
- pan: sync modifier key release via event flags in iframes (83a269a)
- pan: use content-overflow check instead of scale > 1 for velocity (5520cc2), closes #363
- test: pass modifier flags on WheelEvent for activationKeys tests (114c02c)
- zoom: remove setState rounding that caused trackpad pinch-to-zoom drift (ad1f433)
Features
- 🎸 Added mini map limiter (7401345)
- 🎸 general logic cleanup for tests (38d3b96)
- 🎸 moved 'smooth' to the wheel options, removed smoothStep (97e2515)
- 🎸 New version (bc22bb7)
- 🎸 setup (72e72f7)
- add support for custom offset when zooming to element (#535) (a0dac69)
- minimap: preview and wrapper customization; expand Storybook examples (20e481f)
- virtualize: add Virtualize component and infinite grid prop (f9d7ac8)
BREAKING CHANGES
- 🧨 Small API changes, added tests, fixed many many bugs
- 🧨 wheel api change