diff --git a/package.json b/package.json index e58ee314..885e365e 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "react": "^16.12.0", "react-native": "^0.61.5", "react-native-gesture-handler": "^1.5.3", - "react-native-reanimated": "^1.9.0", + "react-native-reanimated": "^1.13.0", "typescript": "^3.7.3" } } diff --git a/src/index.tsx b/src/index.tsx index 7205f9e8..6d1ad4e6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -877,7 +877,7 @@ class DraggableFlatList extends React.Component, State> { }; renderOnPlaceholderIndexChange = () => ( - + {() => block([ onChange( @@ -952,7 +952,7 @@ class DraggableFlatList extends React.Component, State> { renderDebug() { return ( - + {() => block([ onChange(this.spacerIndex, debug("spacerIndex: ", this.spacerIndex)) @@ -1015,7 +1015,7 @@ class DraggableFlatList extends React.Component, State> { scrollEventThrottle={1} /> {!!hoverComponent && this.renderHoverComponent()} - + {() => block([ onChange( @@ -1040,7 +1040,7 @@ class DraggableFlatList extends React.Component, State> { } {onScrollOffsetChange && ( - + {() => onChange( this.scrollOffset, diff --git a/yarn.lock b/yarn.lock index 1483672d..2e792a69 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3740,10 +3740,10 @@ react-native-gesture-handler@^1.5.3: invariant "^2.2.4" prop-types "^15.7.2" -react-native-reanimated@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-1.9.0.tgz#38676c99dd585504fdc7331efb45e5f48ec7339a" - integrity sha512-Aj+spgIHRiVv7ezGADxnSH1EoKrQRD2+XaSiGY0MiB/pvRNNrZPSJ+3NVpvLwWf9lZMOP7dwqqyJIzoZgBDt8w== +react-native-reanimated@^1.13.0: + version "1.13.2" + resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-1.13.2.tgz#1ae5457b24b4913d173a5a064bb28eae7783d293" + integrity sha512-O+WhgxSjOIzcVdAAvx+h2DY331Ek1knKlaq+jsNLpC1fhRy9XTdOObovgob/aF2ve9uJfPEawCx8381g/tUJZQ== dependencies: fbjs "^1.0.0"