diff --git a/flutter/lib/desktop/pages/desktop_tab_page.dart b/flutter/lib/desktop/pages/desktop_tab_page.dart index e611aca44..9f9f4fd5b 100644 --- a/flutter/lib/desktop/pages/desktop_tab_page.dart +++ b/flutter/lib/desktop/pages/desktop_tab_page.dart @@ -107,7 +107,10 @@ class _DesktopTabPageState extends State onEnter: (_) async { await shouldBeBlocked(_block, canBeBlocked); }, - child: FocusScope(child: tabWidget, canRequestFocus: !_block.value)); + child: _block + .value // FocusScope cause id input not working when closing remote + ? tabWidget + : FocusScope(child: tabWidget, canRequestFocus: false)); return isMacOS || kUseCompatibleUiMode ? Obx(() => widget()) : Obx(