mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[bugfix] Swipe: use translate2d to aviod iOS11 crash bug (#518)
This commit is contained in:
@@ -85,7 +85,7 @@ export default create({
|
||||
paddingLeft: this.width + 'px',
|
||||
width: (this.count + 2) * this.width + 'px',
|
||||
transitionDuration: `${this.currentDuration}ms`,
|
||||
transform: `translate3d(${this.offset}px, 0, 0)`
|
||||
transform: `translate(${this.offset}px, 0)`
|
||||
};
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user