Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0d195a6

Browse files
update
1 parent 60af9a5 commit 0d195a6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ci/licenses_golden/licenses_flutter

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterPluginA
867867
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputDelegate.h
868868
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.h
869869
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm
870+
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterTextInputPluginTest.m
870871
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterUmbrellaImport.m
871872
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterView.h
872873
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Source/FlutterView.mm

shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)