There was an error while loading. Please reload this page.
1 parent 87928d0 commit 544d7afCopy full SHA for 544d7af
2 files changed
.changeset/cruel-beds-look.md
@@ -0,0 +1,5 @@
1
+---
2
+'@tanstack/devtools': patch
3
4
+
5
+fix issue with react-router and delegated events
packages/devtools/src/context/pip-context.tsx
@@ -6,7 +6,7 @@ import {
6
onCleanup,
7
useContext,
8
} from 'solid-js'
9
-import { clearDelegatedEvents, delegateEvents } from 'solid-js/web'
+import { delegateEvents } from 'solid-js/web'
10
import type { Accessor, JSX } from 'solid-js'
11
12
interface PiPProviderProps {
@@ -69,8 +69,6 @@ export const PiPProvider = (props: PiPProviderProps) => {
69
pip.document.head.innerHTML = ''
70
// Remove existing body
71
pip.document.body.innerHTML = ''
72
- // Clear Delegated Events
73
- clearDelegatedEvents(pip.document)
74
75
pip.document.title = 'TanStack Devtools'
76
pip.document.body.style.margin = '0'
0 commit comments