OHIF / Viewers

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

[Bug] Configuring activateViewportBeforeInteraction does not work #4334

Closed fightroad closed 3 days ago

fightroad commented 3 months ago

Describe the Bug

Configuring activateViewportBeforeInteraction does not work.. use ohif 3.9 .

Steps to Reproduce

Configuring activateViewportBeforeInteraction does not work.. use ohif 3.9 .

The current behavior

Configuring activateViewportBeforeInteraction does not work.. use ohif 3.9 .

The expected behavior

can work

OS

windows10

Node version

20

Browser

chrome 122

salimkanoun commented 2 months ago

Can we get more details about your problem ? I don't see any problem in the latest build

activateViewportBeforeInteraction = true makes you require to first activate the viewport to interact with while activateViewportBeforeInteraction = false respond to the first click on the viewport