uni-app 固定高度的textarea组件,文本内容超过高度则高度溢出
uni-app 固定高度的textarea组件,文本内容超过高度则高度溢出
产品分类
uniapp/App
PC开发环境操作系统
Windows
HBuilderX类型
正式
HBuilderX版本号
3.3.1
手机系统
全部
手机厂商
华为
页面类型
vue
vue版本
vue2
打包方式
云端
项目创建方式
HBuilderX
App下载地址或H5网址
https://hellouniapp.dcloud.net.cn/pages/component/textarea/textarea
测试过的手机
和机型无关
操作步骤
https://hellouniapp.dcloud.net.cn/pages/component/textarea/textarea 官方示例的第二个输入框一直按回车,随便三四十个,页面则被顶高可上下拖动。
预期结果
无论多少内容文本,整个页面高度应不受影响
实际结果
页面高度受影响,出现滚动条,页面可滚动
bug描述
定高的textarea组件只要多换几行(无论是文本还是换行符),页面高度就会被顶高(被看不见的文字撑开)

更多关于uni-app 固定高度的textarea组件,文本内容超过高度则高度溢出的实战教程也可以访问 https://www.itying.com/category-93-b0.html
3 回复
已验证,确实存在这个问题
更多关于uni-app 固定高度的textarea组件,文本内容超过高度则高度溢出的实战教程也可以访问 https://www.itying.com/category-93-b0.html
估计是BUG 自己先写个.uni-textarea{overflow:hidden} 试试吧


