ng-emoji-picker icon indicating copy to clipboard operation
ng-emoji-picker copied to clipboard

After emojiClick this. lastCursorPosition need change

Open qianxuehuanyu opened this issue 5 years ago • 0 comments

onEmojiClick(e) { this.input = this.input.substr(0, this.lastCursorPosition) + e + this.input.substr(this.lastCursorPosition); this.modelChange.emit(this.input); this.emojiClick.emit(e); ---this.lastCursorPosition += 2;--- if (this.closeAfterSelection) { this.popupOpen = false; this.clean(); } }

qianxuehuanyu avatar Sep 03 '19 12:09 qianxuehuanyu