We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6cae4e commit 0851d5fCopy full SHA for 0851d5f
2 files changed
.changeset/loud-guests-drive.md
@@ -0,0 +1,5 @@
1
+---
2
+'@graphiql/react': patch
3
4
+
5
+Fix: prevent default event for graphiql-doc-explorer-back link
packages/graphiql-react/src/explorer/components/doc-explorer.tsx
@@ -69,7 +69,10 @@ export function DocExplorer() {
69
<a
70
href="#"
71
className="graphiql-doc-explorer-back"
72
- onClick={pop}
+ onClick={event => {
73
+ event.preventDefault();
74
+ pop();
75
+ }}
76
aria-label={`Go back to ${prevName}`}
77
>
78
<ChevronLeftIcon />
0 commit comments