Skip to content

Commit 88ea9c7

Browse files
committed
Fix close context menu by esc
1 parent c96f9a4 commit 88ea9c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Telegram/Navigation/BootStrapper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,10 @@ private void RaiseBackRequested(XamlRoot xamlRoot, VirtualKey key, ref bool hand
402402
}
403403
else if (key == VirtualKey.Escape)
404404
{
405+
// TODO: what is this for? I have no clue anymore
405406
if (popup.Child is not Grid)
406407
{
407-
handled = args.Handled = true;
408+
//handled = args.Handled = true;
408409
return;
409410
}
410411
}

0 commit comments

Comments
 (0)