nutui-react icon indicating copy to clipboard operation
nutui-react copied to clipboard

input组件构建热更新过程中会出现输入框不现实无法聚焦输入文字

Open wangyuan0108 opened this issue 1 year ago • 5 comments

NutUI scenes(nutui 场景)

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

NutUI-react version(nutui-react 版本)

1.5.3

React version(react 版本)

18.2.0

Operating environment(运行环境)

dev:weapp

Citation method(引用方式)

npm

Node version(node 版本)

16.20.0

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

微信开发者工具

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

MacOS(13.3.1 (a) (22E772610a))

Taro environmental information(taro 环境信息)

Taro CLI 3.6.5 environment info: System: OS: macOS 13.3.1 Shell: 5.9 - /bin/zsh Binaries: Node: 16.20.0 - ~/.nvm/versions/node/v16.20.0/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.0/bin/yarn npm: 8.19.4 - ~/.nvm/versions/node/v16.20.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.5 => 3.6.5 @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

Steps to reproduce(重现步骤)

暂未找到必现的重现步骤

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

input输入框正常显示

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

input框不显示

wangyuan0108 avatar May 25 '23 09:05 wangyuan0108

image

wangyuan0108 avatar May 25 '23 09:05 wangyuan0108

image

wangyuan0108 avatar May 25 '23 09:05 wangyuan0108

image

wangyuan0108 avatar May 25 '23 09:05 wangyuan0108

如果出现这个问题后,只能删除node_modules依赖包,然后在重新安装依赖,在构建Input框才会再次正常出现

wangyuan0108 avatar May 25 '23 09:05 wangyuan0108

https://github.com/NervJS/taro-ui/issues/1554 https://github.com/NervJS/taro-ui/issues/1555 和这两个问题表现类似

wangyuan0108 avatar May 25 '23 09:05 wangyuan0108