Merge pull request #214 from MeshEnvy/fix/cursor-focus

enh: return cursor focus to message window after send
chore/offband-rebrand
zjs81 5 months ago committed by GitHub
commit 83386a8cde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1073,6 +1073,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
connector.sendChannelMessage(widget.channel, messageText);
_textController.clear();
_cancelReply();
_textFieldFocusNode.requestFocus();
}
String _formatTime(DateTime time) {

@ -459,6 +459,7 @@ class _ChatScreenState extends State<ChatScreen> {
connector.sendMessage(widget.contact, text);
_textController.clear();
_textFieldFocusNode.requestFocus();
}
void _showPathHistory(BuildContext context) {

@ -168,6 +168,7 @@ class _RepeaterCliScreenState extends State<RepeaterCliScreen> {
_commandController.clear();
_historyIndex = -1;
_commandFocusNode.requestFocus();
// Auto-scroll to bottom
Future.delayed(const Duration(milliseconds: 100), () {

Loading…
Cancel
Save

Powered by TurnKey Linux.