fix stupid flutter
This commit is contained in:
parent
d25670c79a
commit
bf6a3a7067
@ -107,7 +107,10 @@ class _DesktopTabPageState extends State<DesktopTabPage>
|
|||||||
onEnter: (_) async {
|
onEnter: (_) async {
|
||||||
await shouldBeBlocked(_block, canBeBlocked);
|
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
|
return isMacOS || kUseCompatibleUiMode
|
||||||
? Obx(() => widget())
|
? Obx(() => widget())
|
||||||
: Obx(
|
: Obx(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user