Open ai212983 opened 1 year ago
The source issues has been closed as fixed by this pull request https://github.com/prc5/react-zoom-pan-pinch/commit/9e20e855c82f52fccd309f25e60b67ddfd5482cb. So just to make sure that I understand you correctly: This is still an issue, right?
@janaagaard75 This is still an issue with this fork (proNestorAps), not with original (prc5).
Thanks a lot for clarifying this. I have no clue as to why this fork has the issue though, because the changes (https://github.com/prc5/react-zoom-pan-pinch/commit/9e20e855c82f52fccd309f25e60b67ddfd5482cb) are also present here. I will have to create a test that reproduces the error, and then try rolling back the changes applied in here since the fork.
Seems like source repo also had this problem https://github.com/prc5/react-zoom-pan-pinch/issues/217:
the workaround is to use
centerView(<initialScale>)
, but still