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

iOS端,Input在有值的情况下点击聚焦,光标会置于最左边,而不是最右边 #1240

Closed
zmm2tysu opened this issue Jul 18, 2023 · 2 comments
Labels
Need Reproduce to be closed 未提供最小化可复现 demo 且长期无进展的 issue

Comments

@zmm2tysu
Copy link

NutUI scenes(nutui 场景)

小程序(@nutui/nutui-react-taro)

NutUI-react version(nutui-react 版本)

1.5.7

React version(react 版本)

18.0.0

Operating environment(运行环境)

dev:weapp

Citation method(引用方式)

npm

Node version(node 版本)

16.10.0

Browser and its version(浏览器及其版本)

chrome 114.0.5735.198

System and its version(系统及其版本)

MacOS 12.5

Taro environmental information(taro 环境信息)

👽 Taro v3.6.5


  Taro CLI 3.6.5 environment info:
    System:
      OS: macOS 12.5
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.10.0 - ~/.nvm/versions/node/v16.10.0/bin/node
      Yarn: 1.22.17 - /usr/local/bin/yarn
      npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm
    npmPackages:
      @tarojs/cli: 3.6.5 => 3.6.5 
      @tarojs/components: 3.6.5 => 3.6.5 
      @tarojs/helper: 3.6.5 => 3.6.5 
      @tarojs/plugin-framework-react: 3.6.5 => 3.6.5 
      @tarojs/plugin-html: ^3.6.7 => 3.6.7 
      @tarojs/plugin-platform-alipay: 3.6.5 => 3.6.5 
      @tarojs/plugin-platform-h5: 3.6.5 => 3.6.5 
      @tarojs/plugin-platform-jd: 3.6.5 => 3.6.5 
      @tarojs/plugin-platform-qq: 3.6.5 => 3.6.5 
      @tarojs/plugin-platform-swan: 3.6.5 => 3.6.5 
      @tarojs/plugin-platform-tt: 3.6.5 => 3.6.5 
      @tarojs/plugin-platform-weapp: 3.6.5 => 3.6.5 
      @tarojs/react: 3.6.5 => 3.6.5 
      @tarojs/runtime: 3.6.5 => 3.6.5 
      @tarojs/shared: 3.6.5 => 3.6.5 
      @tarojs/taro: 3.6.5 => 3.6.5 
      @tarojs/webpack5-runner: 3.6.5 => 3.6.5 
      babel-preset-taro: 3.6.5 => 3.6.5 
      eslint-config-taro: 3.6.5 => 3.6.5 
      react: ^18.0.0 => 18.2.0

Reproduction link(重现链接)

nutui.jd.com/taro/react/2x/

Steps to reproduce(重现步骤)

iOS端,Input在有值的情况下点击聚焦,光标会置于最左边,而不是最右边

What is expected?(期望的结果是什么?)

光标正常处于最右边

What is actually happening?(实际的结果是什么?)

光标处于最左边

Remarks(补充说明)

<Input
    name='test'
    label='测试输入光标'
    defaultValue='123123123'
    placeholder='请输入测试输入光标'
  />
@github-actions
Copy link

你好 @zmm2tysu, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

@zmm2tysu
Copy link
Author

zmm2tysu commented Jul 31, 2023

@oasis-cloud codesandbox没有Taro的环境, 也没有@nutui/nutui-react-taro 1.5.7的版本

@eiinu eiinu added the to be closed 未提供最小化可复现 demo 且长期无进展的 issue label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Reproduce to be closed 未提供最小化可复现 demo 且长期无进展的 issue
Projects
None yet
Development

No branches or pull requests

3 participants