Skip to content

Commit fc58203

Browse files
committed
Fix #1
1 parent 7d465fa commit fc58203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ImageViewer extends React.Component<ImageViewerComponentProps, ImageViewer
7272
getItemCount={this._getItemCount}
7373
getItem={this._getItem}
7474
getItemLayout={this._getItemLayout}
75-
scrollEnabled
75+
scrollEnabled={this.state.scrollEnabled}
7676
ref={this._scrollRef}
7777
removeClippedSubviews={true}
7878
maxToRenderPerBatch={2}

0 commit comments

Comments
 (0)