Skip to content

Commit e9eeb61

Browse files
committed
Fix bug while dragging over footer
1 parent ece89fd commit e9eeb61

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/SortableList.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default class SortableList extends Component {
153153
const {contentContainerStyle, horizontal, style} = this.props;
154154
const {animated, contentHeight, contentWidth, scrollEnabled} = this.state;
155155
const containerStyle = StyleSheet.flatten([style, {opacity: Number(animated)}])
156-
const innerContainerStyle = [styles.container];
156+
const innerContainerStyle = [styles.rowsContainer];
157157
let {refreshControl} = this.props;
158158

159159
if (horizontal) {
@@ -597,4 +597,9 @@ const styles = StyleSheet.create({
597597
container: {
598598
flex: 1,
599599
},
600+
601+
rowsContainer: {
602+
flex: 1,
603+
zIndex: 1,
604+
},
600605
});

0 commit comments

Comments
 (0)