OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3.32k stars 3.35k forks source link

main image view port lost after resize #4453

Open arunvc opened 12 hours ago

arunvc commented 12 hours ago

Describe the Bug

resize the screen the main image is lost, try demo site

Steps to Reproduce

https://github.com/user-attachments/assets/ab08d288-141b-4c11-b289-e060a3ed6b18

The current behavior

image disappears

The expected behavior

mail image should stay the same

OS

ubuntu 22

Node version

18

Browser

Latest Chrome and Firefox

sedghi commented 9 hours ago

We should set a minimum for viewport pane

sedghi commented 9 hours ago

platform/ui/src/components/ViewportPane/ViewportPane.tsx