mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Swipe: use translate2d to aviod iOS11 crash bug (#518)
This commit is contained in:
@@ -20,7 +20,7 @@ export default create({
|
||||
style() {
|
||||
return {
|
||||
width: this.$parent.width + 'px',
|
||||
transform: `translate3d(${this.offset}px, 0, 0)`
|
||||
transform: `translate(${this.offset}px, 0)`
|
||||
};
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user