Skip to content

Commit 44a1499

Browse files
authored
Merge pull request #273 from MaZhaolin/patch-1
fix: scrollview in TouchableWithoutFeedback
2 parents 1bb6e9b + d2b7f90 commit 44a1499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/CodeHighlighter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const CodeHighlighter: FunctionComponent<CodeHighlighterProps> = ({
8484
containerStyle,
8585
]}
8686
>
87-
<View>{renderNode(rows)}</View>
87+
<View onStartShouldSetResponder={() => true}>{renderNode(rows)}</View>
8888
</ScrollView>
8989
);
9090
};

0 commit comments

Comments
 (0)