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 layout and chromeless component block floating toolbars being shown behind other elements #7604

Conversation

emmatown
Copy link
Member

@emmatown emmatown commented Jun 7, 2022

I was gonna just fix the toolbars but was like "ahhhh, this is a mess and I can't add the thing I need to in a nice place" so there's a bunch of moving and splitting things out here as well. The only functional changes are that the toolbars for layouts and chromeless component blocks are in portals and positioned with popper like all the other inline dialogs.

Before:
The keystone document editor with two notice components blocks with the cursor in the first notice and the toolbar for the first notice hidden behind the second notice

After:
The keystone document editor with two notice components blocks with the cursor in the first notice and the toolbar for the first notice on top of the second notice

@changeset-bot
Copy link

changeset-bot bot commented Jun 7, 2022

🦋 Changeset detected

Latest commit: 1da16ba

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

This PR includes changesets to release 1 package
Name Type
@keystone-6/fields-document 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

@vercel
Copy link

vercel bot commented Jun 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
keystone-next-docs ✅ Ready (Inspect) Visit Preview Jun 7, 2022 at 5:54AM (UTC)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 7, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1da16ba:

Sandbox Source
@keystone-6/sandbox Configuration

@emmatown emmatown force-pushed the fix-content-overlaying-layout-and-component-block-floating-toolbars branch from 954680a to 1da16ba Compare June 7, 2022 05:49
@vercel vercel bot temporarily deployed to Preview June 7, 2022 05:54 Inactive
@emmatown emmatown marked this pull request as ready for review June 7, 2022 06:36
@emmatown emmatown requested a review from a team June 7, 2022 06:37
@emmatown emmatown merged commit d591e31 into main Jun 9, 2022
@emmatown emmatown deleted the fix-content-overlaying-layout-and-component-block-floating-toolbars branch June 9, 2022 00:56
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.

2 participants