From 985801527a56fa4268e4d62eb4eb21615a0e9da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=88=90?= Date: Mon, 23 Sep 2019 20:43:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20iOS8=E9=9C=80=E8=A6=81=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?webkit=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/picker/picker-group/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/taro-components/src/components/picker/picker-group/index.js b/packages/taro-components/src/components/picker/picker-group/index.js index 513a9571b99c..c773c1e8d827 100644 --- a/packages/taro-components/src/components/picker/picker-group/index.js +++ b/packages/taro-components/src/components/picker/picker-group/index.js @@ -10,7 +10,9 @@ export default class PickerGroup extends Nerv.Component { const transition = this.touchEnd ? 0.3 : 0 return `transform: translate3d(0, ${ this.props.height - }px, 0);transition: transform ${transition}s;` + }px, 0);-webkit-transform: translate3d(0, ${ + this.props.height + }px, 0);transition: transform ${transition}s;-webkit-transition: transform ${transition}s;` } formulaUnlimitedScroll (range, absoluteHeight, direction) {