Merge pull request #531 from moksh-mahajan/CloseEmojiPickerOnPageSwitch

Close emoji picker window on page switch
This commit is contained in:
Nathan.fooo 2022-06-04 14:09:39 +08:00 committed by GitHub
commit 523caca2ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,12 @@ class _EmojiStyleButtonState extends State<FlowyEmojiStyleButton> {
);
}
@override
void dispose() {
_entry.remove();
super.dispose();
}
// @override
// void didUpdateWidget(covariant FlowyEmojiStyleButton oldWidget) {
// super.didUpdateWidget(oldWidget);