crystalui / angular-lightbox

A simple, responsive lightbox component.
Apache License 2.0
21 stars 13 forks source link

Not working in Chrome responsive view tool #3

Closed rushenn closed 5 years ago

rushenn commented 5 years ago

Gallery is not working when tried to preview within Chrome's responsive view tool. It fires the following error when clicked on the image.

ERROR TypeError: Cannot read property 'nativeElement' of undefined

I'm not sure wether this related to the plugin or Chrome itself.

drozhzhin-n-e commented 5 years ago

@rushenn Does the error occur in your application or here http://crystalui.org/components/lightbox?

rushenn commented 5 years ago

@drozhzhin-n-e It seems like the error is in my application which is built on Angular7.

drozhzhin-n-e commented 5 years ago

@rushenn Can you see in which file and in which line this error occurs?

rushenn commented 5 years ago

@drozhzhin-n-e https://byrushan.com/projects/material-admin/app/2.6.1/angular/#/photo-gallery Please take a look

drozhzhin-n-e commented 5 years ago

@rushenn This is a compiled project with minified code. Could you see the project in development mode (ng serve)?

rushenn commented 5 years ago

@drozhzhin-n-e Okay, will check it out and let you know.

rushenn commented 5 years ago

@drozhzhin-n-e Let me know if you need any further information

Screen Shot 2019-04-02 at 14 28 35
drozhzhin-n-e commented 5 years ago

@rushenn OK. I will try to fix it soon.

rushenn commented 5 years ago

@drozhzhin-n-e Thank you

drozhzhin-n-e commented 5 years ago

@rushenn try version 1.0.6

rushenn commented 5 years ago

@drozhzhin-n-e Thank you