Update emoji_select_widget.dart

This commit is contained in:
Muhammad Rizwan 2022-12-09 15:28:15 +05:00
parent 3f27576066
commit 9dfc8dbb43

View File

@ -90,6 +90,7 @@ class _EmojiSelectionMenuState extends State<EmojiSelectionMenu> {
bool _handleGlobalKeyEvent(KeyEvent event) {
if (event.logicalKey == LogicalKeyboardKey.escape &&
event is KeyDownEvent) {
//triggers on esc
widget.onExit();
return true;
} else {