Skip to content

Commit

Permalink
fix: scrollview in TouchableWithoutFeedback
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZhaolin authored Mar 13, 2024
1 parent 1bb6e9b commit d2b7f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/CodeHighlighter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const CodeHighlighter: FunctionComponent<CodeHighlighterProps> = ({
containerStyle,
]}
>
<View>{renderNode(rows)}</View>
<View onStartShouldSetResponder={() => true}>{renderNode(rows)}</View>
</ScrollView>
);
};
Expand Down

0 comments on commit d2b7f90

Please sign in to comment.