lsharir / angular2-emoji-picker

[Angular Library] Emoji picker for angular2+ (not maintained)
https://lsharir.github.io/angular2-emoji-picker/
MIT License
21 stars 8 forks source link

Plugin is not ready for Angular 8 ? #13

Open xdrago1 opened 4 years ago

xdrago1 commented 4 years ago

Hi

I am getting the following error

ERROR in node_modules/angular2-emoji-picker/lib-dist/components/emoji-content.component.ts:20:4 - error TS2554: Expected 2 arguments, but got 1. 20 @ViewChild(forwardRef(() => EmojiListComponent)) emojiListComponent: EmojiListComponent;

Since Angular 8 i think its neccessary to ad something like thsi to @ViewChild:

@ViewChild(forwardRef(() => EmojiListComponent), {static: false}) emojiListComponent: EmojiListComponent;