Viewers
Viewers copied to clipboard
[Bug] cannot recover camera values after resizing (release v3.8 and master)
Describe the Bug
It happens to release and master (latest).
https://github.com/OHIF/Viewers/assets/29337166/2b97ee60-9d56-4ca2-b02c-b55c78cb6398
Steps to Reproduce
- Open the browser as Developer mode to reduce viewport size less than the minimum (I tried with Chrome)
- Open the images
- Reduce the width extremely
- Recover the width
- Image won't be rendered
The current behavior
The image won't be rendered after viewport size is recovered.
The camera values are not recovered.
The expected behavior
Image should be visible if the viewport size is recovered. (v3.7 can be recovered, by zoom in again)
OS
mac OS 14.4
Node version
16.18
Browser
Chrome 125.0.6422.113