Comments (12)
@muiccc 能详细描述一下你的问题吗,在什么情况下无法获取 scrollHeight
from vant.
@chenjiahan 在调用 van-address-list 和 van-address-edit 这两个组件 完成 用户 增加地址 修改地址的时候
from vant.
还有 van-address-edit组件,文档里面 <addressInfo 数据格式> 中的一个字段 name ,应该是user_name,不然传进去 是无法显示 收件人姓名 @chenjiahan
from vant.
我是在用popup显示AddressEdit的时候高度为0
from vant.
另外问一下AddressEdit和AddressList为什么不统一下数据格式呢
from vant.
- AddressEdit 中的姓名字段已修正为 name,与 AddressList 保持一致
- textarea scrollHeight 为 0 的问题已修复,出现原因是 display none 时无法获取 scrollHeight
以上改动在 [email protected] 中可用
from vant.
textarea scrollHeight 为 0 的问题已修复,出现原因是 display none 时无法获取 scrollHeight, 以上改动在 [email protected] 中可用 我用的是1.0.1版本textarea的高度还是0,这个组件我是放在一个弹窗中
from vant.
@wangminglmm 可以提供一个复现问题的 jsfiddle 吗
from vant.
代码就是这个,用v-if就ok,用v-show不可以
from vant.
from vant.
《》
<van-address-edit
:area-list="areaList"
:address-info="addressInfo"
show-delete
show-set-default
show-search-result
@save="onSave"
@delete="onDelete"
/>
《》
from vant.
@wangminglmm 现在的版本里确实有这个问题,将在 1.0.4 版本中修复
from vant.
Related Issues (20)
- [Feature Request] 希望mobile.html 新增配置是否隐藏导航栏的配置 HOT 1
- [Bug Report] Tagbar 组件在平板上无法自动导入 Icon 组件,显示为方框 HOT 1
- [Feature Request] AddressList 地址列表希望支持多选
- [Bug Report] ImagePreview在使用函数调用的方式时,偶然出现Uncaught TypeError: Cannot read properties of undefined (reading 'firstElementChild') HOT 1
- [Bug Report] PickerGroup中第二级TimePicker拖动后快速点击确定,取值错误 HOT 1
- pullrefresh和van-swipe-cell一起使用时,下拉刷新后,立马瞬间上拉列表使其超出可视区,列表在请求完成更新后依然不显示在可视区,消失了,下拉也拉不下来 HOT 1
- [Feature Request] picker-group 能够支持设置showToolbar
- Form 组件 scroll-to-error 在使用 tab 滚动吸顶的时候,被吸顶的tab挡住
- [Bug Report] Tabbar 的placerholder 跟预期的不一样, 位置没有跟ftabbar 重叠 HOT 2
- [Bug Report] van-watermark 组件水印全页显示 HOT 5
- Vant 4.8.11 Highlight 高亮文本 当没有需要高亮的文本时源文本不显示
- [Bug Report] 按需引入vant,showImagePreview样式丢失 HOT 2
- 关于 uniapp HOT 1
- [Bug Report] cascader 默认赋值问题
- 国内站点地址挂了 HOT 9
- [Bug Report]SwipeCell 滑动单元格点击事件错误捕获 HOT 3
- [Bug Report] 关于步进器stepper建议修复下autocomplete问题,应该是默认off或者做成可以配置的 HOT 1
- [Bug Report] useCountDown倒计时总时长被本地时间影响 HOT 1
- [Bug Report] IOS17.4.1版本使用upload组件进行拍照上传的时候会造成页面白屏崩溃 HOT 2
- vant/cli css 打包bug Selector "[data-v-5c89f644]" can't have a suffix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vant.