Skip to content

Commit

Permalink
[PLAY-1601] Bump react-zoom-pan-pinch from 2.6.1 to 3.6.0 (#3817)
Browse files Browse the repository at this point in the history
**What does this PR do?**
Upgrade react-zoom-pan-pinch from 2.6.1 to 3.6.0

Fix "pinch" bug on mobile and tablet by avoiding [3.6.1
version](https://github.com/BetterTyped/react-zoom-pan-pinch/releases/tag/v3.6.1)
which has a bug with "double click" and "two fingers" on zoom.
See discussion in [GitHub
issues](BetterTyped/react-zoom-pan-pinch#487).
Someone made a
[PR](BetterTyped/react-zoom-pan-pinch#499) which
hasn't been merged yet, so this might be fixed in later versions.

**How to test?**
Go through the Lightbox kit for any regressions


#### Checklist:
- [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new
kit`, `deprecated`, or `breaking`. See [Changelog &
Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels)
for details.
- [x] **DEPLOY** I have added the `milano` label to show I'm ready for a
review.
  • Loading branch information
kangaree authored Oct 22, 2024
1 parent bd2066e commit abf83a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion playbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"react-popper": "^2.3.0",
"react-select": "5.8.0",
"react-trix": "0.10.1",
"react-zoom-pan-pinch": "^2.6.1",
"react-zoom-pan-pinch": "3.6.0",
"rollup-plugin-copy": "^3.5.0",
"sass": "^1.77.6",
"terser": "^5.31.3",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10190,10 +10190,10 @@ [email protected]:
dependencies:
trix "^1.3.1"

react-zoom-pan-pinch@^2.6.1:
version "2.6.1"
resolved "https://npm.powerapp.cloud/react-zoom-pan-pinch/-/react-zoom-pan-pinch-2.6.1.tgz#5719fdd9515dc1f379a23350cbf99edd540b1281"
integrity sha512-4Cgdnn6OwN4DomY/E9NpAf0TyCtslEgwdYn96ZV/f5LKuw/FE3gcIBJiaKFmMGThDGV0yKN5mzO8noi34+UE4Q==
react-zoom-pan-pinch@3.6.0:
version "3.6.0"
resolved "https://npm.powerapp.cloud/react-zoom-pan-pinch/-/react-zoom-pan-pinch-3.6.0.tgz#aea299a27d120a96b832fd953b2490ca9bfc4954"
integrity sha512-qLAFbDmlRwwJ7F3KXIoT5zxVZD34ZO0a5jI65URmTUjthapoQ0UCAF8oxpSJV0bSVszI5T3WV/U4Jd6ypwOnAQ==

react@^17.0.2:
version "17.0.2"
Expand Down

0 comments on commit abf83a5

Please sign in to comment.