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

Textarea 仅设置 autosize 且未输入值时在真机上有滚动条 #3238

Open
huguangju opened this issue Dec 18, 2024 · 0 comments
Open

Comments

@huguangju
Copy link

NutUI 包名

@nutui/nutui-taro

NutUI 版本号

4.0.7

平台

weapp

重现链接

https://github.com/jdf2e/nutui

重现步骤

image

直接扫官方提供的微信小程序二维码,进入 Textarea 组件页。
看“高度自定义,拉伸”下输入框,未输入值时,显示了滚动条。输入值后,滚动条消失。

image

期望的结果是什么?

没有滚动条

实际的结果是什么?

有滚动条

环境信息

👽 Taro v4.0.7

Taro CLI 4.0.7 environment info:
System:
OS: macOS 12.6.5
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.18.0/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm
npmPackages:
@tarojs/cli: 4.0.7 => 4.0.7
@tarojs/components: 4.0.7 => 4.0.7
@tarojs/helper: 4.0.7 => 4.0.7
@tarojs/plugin-framework-vue3: 4.0.7 => 4.0.7
@tarojs/plugin-html: 4.0.7 => 4.0.7
@tarojs/plugin-platform-h5: 4.0.7 => 4.0.7
@tarojs/plugin-platform-weapp: 4.0.7 => 4.0.7
@tarojs/plugin-vue-devtools: ^4.0.8 => 4.0.8
@tarojs/runtime: 4.0.7 => 4.0.7
@tarojs/shared: 4.0.7 => 4.0.7
@tarojs/taro: 4.0.7 => 4.0.7
@tarojs/taro-loader: 4.0.8 => 4.0.8
@tarojs/vite-runner: 4.0.7 => 4.0.7
@tarojs/webpack5-runner: 4.0.8 => 4.0.8
babel-preset-taro: 4.0.7 => 4.0.7

其他补充信息

image

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

1 participant