diff --git a/Libraries/Experimental/SwipeableRow/SwipeableRow.js b/Libraries/Experimental/SwipeableRow/SwipeableRow.js index c1cb230f5..c4e0f84d6 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableRow.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableRow.js @@ -78,6 +78,7 @@ const SwipeableRow = React.createClass({ mixins: [TimerMixin], propTypes: { + children: PropTypes.any, isOpen: PropTypes.bool, maxSwipeDistance: PropTypes.number.isRequired, onOpen: PropTypes.func.isRequired, @@ -206,12 +207,10 @@ const SwipeableRow = React.createClass({ }, _onSwipeableViewLayout(event: Object): void { - if (!this.state.isSwipeableViewRendered) { - this.setState({ - isSwipeableViewRendered: true, - rowHeight: event.nativeEvent.layout.height, - }); - } + this.setState({ + isSwipeableViewRendered: true, + rowHeight: event.nativeEvent.layout.height, + }); }, _handleMoveShouldSetPanResponderCapture(