This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
shell/platform/darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -867,6 +867,7 @@ FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterPluginA
867867FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h
868868FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.h
869869FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm
870+ FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.m
870871FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterUmbrellaImport.m
871872FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterView.h
872873FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterView.mm
Original file line number Diff line number Diff line change @@ -261,6 +261,9 @@ - (NSRange)clampSelection:(NSRange)range forText:(NSString*)text {
261261#pragma mark - UIResponder Overrides
262262
263263- (BOOL )canBecomeFirstResponder {
264+ // Only the currently focused input field can
265+ // become the first responder. This prevents iOS
266+ // from changing focus by itself.
264267 return _textInputClient != 0 ;
265268}
266269
You can’t perform that action at this time.
0 commit comments