Skip to content

Commit 28c25b3

Browse files
oleh-mryhlodsilentcloud
authored andcommitted
fix shrinking children components on every swipe on ios (dancormier#274)
1 parent 33246ed commit 28c25b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ const Swipeout = createReactClass({
368368
};
369369
var styleContentPos = {
370370
content: {
371-
left: this._rubberBandEasing(posX, limit),
371+
transform: [{ translateX: this._rubberBandEasing(posX, limit) }],
372372
},
373373
};
374374

0 commit comments

Comments
 (0)