SmartPhoto icon indicating copy to clipboard operation
SmartPhoto copied to clipboard

If images fail to load and image viewer is open, overlay is not removed from DOM when the viewer is closed

Open dlaunen opened this issue 6 years ago • 2 comments

If the image is not available, and you attempt to open the image viewer, the viewer will display a progress/loading spinner. Closing the viewer using the top "X" close button, will successfully close the viewer, however there will be an invisible overlay left on top of the DOM preventing interaction with the application.

The console reveals a NPE on the attempt to close the viewer:

Uncaught (in promise) TypeError: Cannot read property 'style' of null at smartphoto.min.js:104 at new Promise () at e.value (smartphoto.min.js:104) at e.value (smartphoto.min.js:104) at smartphoto.min.js:103 at HTMLDivElement. (smartphoto.min.js:103)

dlaunen avatar Nov 20 '19 16:11 dlaunen

Hi @dlaunen Thank you for reporting! But I could not reproduce the error Which version of SmartPhoto Are you using? And which browser?

steelydylan avatar Nov 21 '19 01:11 steelydylan

@dlaunen Hi. Is this error still occurring? if this error is still occurring, Please tell me which version of SmartPhoto and witch browser are you using.

uidev1116 avatar Jan 10 '23 08:01 uidev1116