From d76117702e2f88aaa5d8d89ee54e88e3ef23a523 Mon Sep 17 00:00:00 2001 From: oleh-mryhlod Date: Fri, 8 Jun 2018 19:19:58 +0300 Subject: [PATCH] fix shrinking children components on every swipe on ios --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 10bc457b..16ecc44b 100644 --- a/src/index.js +++ b/src/index.js @@ -368,7 +368,7 @@ const Swipeout = createReactClass({ }; var styleContentPos = { content: { - left: this._rubberBandEasing(posX, limit), + transform: [{ translateX: this._rubberBandEasing(posX, limit) }], }, };