react-medium-image-zoom icon indicating copy to clipboard operation
react-medium-image-zoom copied to clipboard

Using Controlled zoom & ZoomContent at the same time breaks

Open tarngerine opened this issue 8 months ago • 8 comments

Issue Type

  • [x] Bug report
  • [ ] Feature request
  • [ ] Question / support request
  • [ ] Other

Description

See repro in Codesandbox link: https://codesandbox.io/s/snowy-hill-ltjwwc?file=/src/App.tsx

Using Controlled with ZoomContent prop breaks the webpage that it's used in. Using them separately works fine.

After the first zoom-in, the first zoom-out breaks (no animation), and every interaction on the website thereafter is locked.

tarngerine avatar Nov 02 '23 21:11 tarngerine