From 4ce59b6050321d5adbf3e6bea3a37e103120b16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gary=20Gro=C3=9Fgarten?= Date: Sun, 1 Dec 2019 22:08:09 +0100 Subject: [PATCH] fix(gallery-image): make thumbnail static --- .../src/lib/gallery/gallery-image/gallery-image.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/core/src/lib/gallery/gallery-image/gallery-image.component.ts b/projects/core/src/lib/gallery/gallery-image/gallery-image.component.ts index db5e7506..aa755f87 100644 --- a/projects/core/src/lib/gallery/gallery-image/gallery-image.component.ts +++ b/projects/core/src/lib/gallery/gallery-image/gallery-image.component.ts @@ -19,7 +19,7 @@ export class FivGalleryImage implements OnInit { originalSrc: string | SafeResourceUrl; index: number; - @ViewChild('thumbnail', { static: false }) thumbnail: ElementRef; + @ViewChild('thumbnail', { static: true }) thumbnail: ElementRef; @Output() click = new EventEmitter(); open() {