mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Update emoji_select_widget.dart
This commit is contained in:
parent
3f27576066
commit
9dfc8dbb43
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user