Skip to content

Commit d8d2751

Browse files
m-bertCopilot
andauthored
Bring back comment
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent d0849a1 commit d8d2751

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/react-native-gesture-handler/src/v3/components/ScrollViewResponderInterceptor.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ export const ScrollViewResponderProvider = ({
115115
);
116116
};
117117

118+
// RNGH tap responders need to let RN components higher in the tree handle the JS
119+
// responder event first. If no RN component claims it, this logical ScrollView
120+
// child consumes the marked event before ScrollView's own
121+
// keyboardShouldPersistTaps='handled' responder logic handles it.
122+
// For more context: https://github.com/software-mansion/react-native-gesture-handler/pull/4158#issuecomment-4431632964
118123
const LogicalResponderChild = ({ children }: PropsWithChildren) => {
119124
const jsResponderContext = use(JSResponderContext);
120125

0 commit comments

Comments
 (0)