Skip to content

Commit

Permalink
fix(shared): 同步支付宝属性,fix #7922
Browse files Browse the repository at this point in the history
增加支付宝 ScrollView 组件的 scroll-animation-duration 和 trap-scroll 属性。
  • Loading branch information
Chen-jj authored and ZakaryCode committed Nov 4, 2020
1 parent 7d3490b commit 4f64b71
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/shared/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,13 @@ const ScrollView = {
bindDragStart: '',
bindDragging: '',
bindDragEnd: '',
...touchEvents
...touchEvents,
...selectEnv({
alipay: {
'scroll-animation-duration': '',
'trap-scroll': 'false'
}
})
}

const Swiper = {
Expand Down

0 comments on commit 4f64b71

Please sign in to comment.