Skip to content

Commit

Permalink
fix(vision): render error tooltip in a portal
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge committed Jan 3, 2023
1 parent 350f9ef commit fe96da1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@sanity/vision/src/components/VisionGui.tsx
Expand Up @@ -750,6 +750,7 @@ export class VisionGui extends React.PureComponent<VisionGuiProps, VisionGuiStat
{paramsError && (
<Tooltip
placement="top-end"
portal
content={
<Box padding={2}>
<Text>{paramsError}</Text>
Expand Down

1 comment on commit fe96da1

@vercel
Copy link

@vercel vercel bot commented on fe96da1 Jan 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

Please sign in to comment.