Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

[Bug] cannot recover camera values after resizing (release v3.8 and master)

Open Joeycho opened this issue 8 months ago • 3 comments

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

  1. Open the browser as Developer mode to reduce viewport size less than the minimum (I tried with Chrome)
  2. Open the images
  3. Reduce the width extremely
  4. Recover the width
  5. 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.

Screenshot 2024-06-02 at 22 52 55

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

Joeycho avatar Jun 02 '24 20:06 Joeycho