primereact
primereact copied to clipboard
Image: image zoomed out when opening second time
Describe the bug
When Image is opened second time it appears fully zoomed out, user needs to zoom in to see the image.
Reproducer
https://codesandbox.io/p/sandbox/pedantic-lalande-m8cyqx
PrimeReact version
10.3.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
- Open
Imagecomponent - Close the Image by clicking on mask/overlay
- Open second time
- Observe that image is not visible, it is actually zoomed out
- Press zoom in until image appears
Expected behavior
Image shown when opened second time
@arnis87 10.3.2 is out if you want to let me know how its working now.
@melloware at least the reproducer now works. Will try it out in my actual application later. Thanks