Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use portal for validation menu #2425

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Apr 7, 2021

Description

This PR makes the validation menu open in a portal, fixes an issue where it got hidden behind the fullscreen Portable Text Editor.

What to review

​Open or create a document that has a portable text editor and also validation errors. Open portable text editor in fullscreen. See that the validation menu is displayed on top and doesn't get layered behind the portable text editor.

Notes for release

  • ​Fixes issue where the validation menu got hidden behind the fullscreen Portable Text Editor​

This makes the validation menu open in a portal. Fixes issue where it got hidden behind the fullscreen Portable Text Editor
@vercel
Copy link

vercel bot commented Apr 7, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

test-studio – ./

🔍 Inspect: https://vercel.com/sanity-io/test-studio/7pqnZSAv22r6kXuq3S4fpBTk8qX3
✅ Preview: https://test-studio-git-fix-ch7284use-portal-for-validation-menu.sanity.build

perf-studio – ./

🔍 Inspect: https://vercel.com/sanity-io/perf-studio/BBU5XLCjYM8BBCvo3HWdDbAndStz
✅ Preview: https://perf-studio-git-fix-ch7284use-portal-for-validation-menu.sanity.build

@bjoerge bjoerge merged commit 17b8a3b into next Apr 7, 2021
@bjoerge bjoerge deleted the fix/ch7284/use-portal-for-validation-menu branch April 7, 2021 14:18
bjoerge added a commit that referenced this pull request Apr 8, 2021
This makes the validation menu open in a portal. Fixes issue where it got hidden behind the fullscreen Portable Text Editor
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.

None yet

2 participants