From 5078454f7e3073b243a1eca11a5f8e4807694342 Mon Sep 17 00:00:00 2001 From: Andrzej Kania <38880802+Endrzei@users.noreply.github.com> Date: Tue, 25 May 2021 18:19:50 +0200 Subject: [PATCH] fix: enable useButton flag for normally rendered emojis (#379) I noticed the useButton input wasn't being set for ngx-emoji in normalRenderTemplate. Would be great if it could be fixed, unless that's intended. --- src/lib/picker/category.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/picker/category.component.ts b/src/lib/picker/category.component.ts index 26f7ecb..01244bd 100644 --- a/src/lib/picker/category.component.ts +++ b/src/lib/picker/category.component.ts @@ -96,6 +96,7 @@ import { EmojiFrequentlyService } from './emoji-frequently.service'; [backgroundImageFn]="emojiBackgroundImageFn" [imageUrlFn]="emojiImageUrlFn" [hideObsolete]="hideObsolete" + [useButton]="emojiUseButton" (emojiOver)="emojiOver.emit($event)" (emojiLeave)="emojiLeave.emit($event)" (emojiClick)="emojiClick.emit($event)"