|
|
@ -1075,8 +1075,7 @@ class RawEditorState extends EditorState |
|
|
|
if (_hasFocus) { |
|
|
|
if (_hasFocus) { |
|
|
|
final keyboardAlreadyShown = _keyboardVisible; |
|
|
|
final keyboardAlreadyShown = _keyboardVisible; |
|
|
|
openConnectionIfNeeded(); |
|
|
|
openConnectionIfNeeded(); |
|
|
|
if (!keyboardAlreadyShown || |
|
|
|
if (!keyboardAlreadyShown) { |
|
|
|
defaultTargetPlatform == TargetPlatform.iOS) { |
|
|
|
|
|
|
|
/// delay 500 milliseconds for waiting keyboard show up |
|
|
|
/// delay 500 milliseconds for waiting keyboard show up |
|
|
|
Future.delayed(const Duration(milliseconds: 500), _showCaretOnScreen); |
|
|
|
Future.delayed(const Duration(milliseconds: 500), _showCaretOnScreen); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|