We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7cd90 commit 538ced5Copy full SHA for 538ced5
packages/react-native-gesture-handler/src/web/tools/PointerEventManager.ts
@@ -98,7 +98,7 @@ export default class PointerEventManager extends EventManager<HTMLElement> {
98
// pointer moves until it succeeds.
99
// God, I do love web development.
100
if (
101
- !target.hasPointerCapture(event.pointerId) &&
+ !target?.hasPointerCapture(event.pointerId) &&
102
!POINTER_CAPTURE_EXCLUDE_LIST.has(target.tagName)
103
) {
104
target.setPointerCapture(event.pointerId);
0 commit comments