Open optimisme opened 1 year ago
Thanks for the report @optimisme
I was able to replicate the reported error and it seems to be only occuring when using textAlign: right
There's another related issue logged, but for desktop: https://github.com/flutter/flutter/issues/139196
The current VerticalCaretMovementRun
implementation relies on some implementation detail because we had no proper way to determine if the underlying text layout has changed. Let me see if I can remove the isValid
check.
This issue is assigned to @LongCatIsLooong but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!
This issue was assigned to @LongCatIsLooong but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
CC @LongCatIsLooong from triage, you wanted to follow up on your comment above and add some details if you have any.
how come something as crucial as this isn't being fixed
Is there an existing issue for this?
Steps to reproduce
Create a CupertinoTextField object with TextAlign.right, enter a text with several letters, and press the up and down keys to go to the beginning or end of the text.
Expected results
The cursor moving at the beginning or end of the text.
Actual results
This message:
Code sample
Code sample
```dart CupertinoTextField( textAlign: TextAlign.right, controller: widget.controller, ) ```Screenshots or Video
Screenshots / Video demonstration
[Upload media here]Logs
Logs
```console [Paste your logs here] ```Flutter Doctor output
Doctor output
```console [✓] Flutter (Channel stable, 3.16.1, on macOS 14.0 23A344 darwin-arm64, locale en-ES) [!] Android toolchain - develop for Android devices (Android SDK version 33.0.2) ✗ cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.84.2) [✓] VS Code (version 1.85.0-insider) [✓] Connected device (2 available) [✓] Network resources ! Doctor found issues in 1 category. ```