mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
Update emoji_select_widget.dart
This commit is contained in:
parent
3f27576066
commit
9dfc8dbb43
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue