Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FairyWorld opened this issue Sep 10, 2024 · 1 comment

Comments

@FairyWorld
Copy link

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants