From 69da421d98a4dff417c24121f6a6081d477da5c3 Mon Sep 17 00:00:00 2001 From: Juanjo Tugores Date: Wed, 20 Nov 2024 21:49:05 -0800 Subject: [PATCH] Enable view focus (flutter/engine#54966) Enable view focus https://github.com/flutter/flutter/issues/153022 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- .../src/engine/platform_dispatcher/view_focus_binding.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/lib/web_ui/lib/src/engine/platform_dispatcher/view_focus_binding.dart b/engine/src/flutter/lib/web_ui/lib/src/engine/platform_dispatcher/view_focus_binding.dart index 1a9bbb6601..f3aa40ac16 100644 --- a/engine/src/flutter/lib/web_ui/lib/src/engine/platform_dispatcher/view_focus_binding.dart +++ b/engine/src/flutter/lib/web_ui/lib/src/engine/platform_dispatcher/view_focus_binding.dart @@ -12,11 +12,11 @@ final class ViewFocusBinding { ViewFocusBinding(this._viewManager, this._onViewFocusChange); - /// Wether [FlutterView] focus changes will be reported and performed. + /// Whether [FlutterView] focus changes will be reported and performed. /// /// DO NOT rely on this bit as it will go away soon. You're warned :)! @visibleForTesting - static bool isEnabled = false; + static bool isEnabled = true; final FlutterViewManager _viewManager; final ui.ViewFocusChangeCallback _onViewFocusChange;