sachinchoolur/lightGallery

Angular SSR Mode not working

Closed this issue · 1 comments

Description

Getting undefined errors in SSR Mode

image

Cannot read properties of undefined (reading 'clientHeight')
at LightGallery2.getMediaContainerPosition
at LightGallery2.openGallery

Using platformbrowser I can exclude but we need it for SSR (Angular Universal) also, let us know if there are options for making it work in SSR Mode.

lightGallery 2.7.1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.