fluttercandies / extended_text_field

extended official text field to quickly build special text like inline image, @somebody, custom background etc.
MIT License
573 stars 148 forks source link

[Bug report] 长按输入框最后一个文本后面的空白处,向左滑动选择文本后,松开手指再精确滑动选择器无法修改文本的选择范围 #248

Open FairyWorld opened 2 months ago

FairyWorld commented 2 months ago

Version

v13.0.0

Platforms

Android

Device Model

XIAOMI 14(Android 14))

flutter info

[!] Flutter (Channel [user-branch], 3.16.5, on Microsoft Windows [版本 10.0.19044.1645], locale zh-CN)
    ! Flutter version 3.16.5 on channel [user-branch] at D:\dev\flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.        
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio 15 生成工具 2017 15.9.49)
    X Visual Studio 2019 or later is required.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.3)
[√] Connected device (4 available)
[√] Network resources

! Doctor found issues in 2 categories.

How to reproduce?

reproduce:

  1. 长按输入框最后一个文本后面的空白处
  2. 向左滑动选择文本后
  3. 松开手指再精确滑动选择器下标的位置, 无法滑动,导致无法修改文本的选择范围
  4. 如果一开始不是长按输入框最后一个文本后面的空白处,而是改为长按已输入文本, 重复2和3,选择器下标的位置可以滑动和修改文本范围是正常的

Logs

No response

Example code (optional)

No response

Contact

No response

zmtzawqlp commented 2 months ago

官方的输入框有这个问题吗。能提供一下例子吗?