Closed RabidArts closed 4 years ago
Fix issue with view generation when using zoom or rotate options As per https://github.com/themyth92/ngx-lightbox/issues/61
The view generation throws an exception when using showZoom or showRotate. Solution for now is to queue changes to showZoomButton/showRotateButton for the next cycle of view generation by using setTimeout(0).
Tks a lot @RabidArts
Fix issue with view generation when using zoom or rotate options As per https://github.com/themyth92/ngx-lightbox/issues/61
The view generation throws an exception when using showZoom or showRotate. Solution for now is to queue changes to showZoomButton/showRotateButton for the next cycle of view generation by using setTimeout(0).