Skip to content

Respect the outer PortalProvider in GraphiQL - #4778

Draft
trevor-scheer wants to merge 4 commits into
mainfrom
trevor/respect-portal-container
Draft

trevor-scheer wants to merge 4 commits into
mainfrom
trevor/respect-portal-container

Conversation

@trevor-scheer

Copy link
Copy Markdown
Contributor

An app can wrap GraphiQL in a PortalProvider to put overlays above its navigation, but GraphiQLInterface shadows that provider with its own container. The first commit reproduces this by opening Settings with a sibling element as the portal host.

Use the enclosing provider's container when one is present. Embeds can supply a themed element for dialogs, menus, and tooltips. By default they still render inside GraphiQL.

Fixes #4774

@changeset-bot

changeset-bot Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fb9aeb8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
graphiql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[graphiql] Let apps choose where dialogs and tooltips render (portal container)

1 participant