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

Taro Textarea组件在ios端 聚焦的时光标会自动定位到最前面 #16777

Open
Stark9527 opened this issue Oct 30, 2024 · 0 comments
Open
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@Stark9527
Copy link

相关平台

微信小程序

小程序基础库: 3.6.3
使用框架: React

复现步骤

当Textarea组件已存在绑定值的时候第一次聚焦操作 会弹窗输入法弹窗 然后光标会自定定位到最前面

期望结果

首次聚焦应该是默认定位到最后面

实际结果

定位到最前面了

环境信息

Taro v3.3.18

Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
NODE_ENV development
root: /Users/stark/Private/Workspace/dianmi/work/dm/mp2/packages/mp-taro3 dist: dist/approval/weapp
env undefined

  Taro CLI 3.3.18 environment info:
    System:
      OS: macOS 13.2.1
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.0.0 - /usr/local/bin/node
      Yarn: 1.22.15 - /usr/local/bin/yarn
      npm: 8.19.4 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.4.4 => 3.4.4 
      @tarojs/components: 3.4.4 => 3.4.4 
      @tarojs/mini-runner: 3.4.4 => 3.4.4 
      @tarojs/react: 3.4.4 => 3.4.4 
      @tarojs/router: 3.4.4 => 3.4.4 
      @tarojs/runtime: 3.4.4 => 3.4.4 
      @tarojs/taro: 3.4.4 => 3.4.4 
      @tarojs/webpack-runner: 3.4.4 => 3.4.4 
      babel-preset-taro: 3.4.4 => 3.4.4 
      nerv-devtools: 1.5.7 => 1.5.7 
      nervjs: 1.5.7 => 1.5.7 
      react: 17.0.2 => 17.0.2 
    npmGlobalPackages:
      typescript: 3.9.2

@TheKonka TheKonka added V-3 Version - 3.x F-react Framework - React T-weapp Target - 编译到微信小程序 labels Oct 31, 2024
This was referenced Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Status: Todo
Development

No branches or pull requests

2 participants