opt.: IME popup after opening drawer if ssh term is focusing

This commit is contained in:
lollipopkit
2024-06-08 13:53:23 +08:00
parent b167287c5b
commit da48d1f66c
6 changed files with 36 additions and 31 deletions

View File

@@ -41,6 +41,8 @@ class SSHPage extends StatefulWidget {
this.terminalKey,
});
static final focusNode = FocusNode();
@override
State<SSHPage> createState() => SSHPageState();
}
@@ -159,6 +161,7 @@ class SSHPageState extends State<SSHPage> with AutomaticKeepAliveClientMixin {
CustomAppBar.barHeight ?? _media.padding.top,
),
hideScrollBar: false,
focusNode: SSHPage.focusNode,
),
),
);