From de6bf9dc7eeece2c4a5b0ee46b42d55cd1e8c499 Mon Sep 17 00:00:00 2001 From: fufesou <13586388+fufesou@users.noreply.github.com> Date: Mon, 9 Feb 2026 15:54:22 +0800 Subject: [PATCH] fix(ios): Add defensive timer cancellation for keyboard visibility (#14301) Signed-off-by: fufesou --- flutter/lib/mobile/pages/remote_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart index 9c8ffed65..b379a5591 100644 --- a/flutter/lib/mobile/pages/remote_page.dart +++ b/flutter/lib/mobile/pages/remote_page.dart @@ -224,6 +224,8 @@ class _RemotePageState extends State with WidgetsBindingObserver { }); } } else { + _iosKeyboardWorkaroundTimer?.cancel(); + _iosKeyboardWorkaroundTimer = null; _timer?.cancel(); _timer = Timer(kMobileDelaySoftKeyboardFocus, () { SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,