cornerstone3D
cornerstone3D copied to clipboard
[Bug] Page refreshes on mobile phones when loading multiple large images consecutively
Describe the Bug
When trying to load certain CTA images i am getting this issue displayed below where the browser rerenders the current url.
Am using the volume loader
It does not happen consistently but when it does happen it the characteristics seems to be
- On a mobile phone both IOS and Android
- With CTAs that has been compressed and have a size of around 40mb
- The refresh happens right after the image is done loading
I have tried purging the cache between every load which does not change anything. have also tried logging quite extensively but no error log is immediately showing up.
https://github.com/user-attachments/assets/d37a2af4-57fe-41de-8766-d7e8e71c663f
Steps to Reproduce
Try to load several images around 40 mb on a phone with the volume loader using version 1.81.2 for cornerstone and the volume loader.
The current behavior
The page refreshes sometimes when the image is loading and about to render
The expected behavior
the image renders and the user can interact with the application as normally
OS
17.5.1
Node version
18.18
Browser
Tried with Safari, Chrome, Edge