mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
add duration (#4099)
computed.wrapperStyle needs duration parameter, otherwise it will generate undefined value for transition style property
This commit is contained in:
parent
e3c98c7a77
commit
c21e39784f
@ -9,7 +9,7 @@
|
||||
bind:touchend="onTouchEnd"
|
||||
bind:touchcancel="onTouchEnd"
|
||||
>
|
||||
<view style="{{ computed.wrapperStyle({ offset, itemHeight, visibleItemCount }) }}">
|
||||
<view style="{{ computed.wrapperStyle({ offset, itemHeight, visibleItemCount, duration }) }}">
|
||||
<view
|
||||
wx:for="{{ options }}"
|
||||
wx:for-item="option"
|
||||
|
Loading…
x
Reference in New Issue
Block a user