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

New block editor z-index issue. Link options are hidden at the bottom of the page #63795

Closed
2 tasks done
83pixel opened this issue Jul 22, 2024 · 3 comments
Closed
2 tasks done
Labels
[Type] Bug An existing feature does not function as intended

Comments

@83pixel
Copy link

83pixel commented Jul 22, 2024

Description

When you are editing text in the new block editor if your text is on the bottom of the page and you are trying to add/edit a link, the options are hidden if you have some options for example seo options. This is due to no z-index on the class .editor-visual-edit. A simple z-index: 5 will do the trick

before

after

Step-by-step reproduction instructions

Go to New Post
Add a long Text
Try to add a link at a bottom text

Screenshots, screen recording, code snippet

.editor-visual-editor {
align-items: center;
background-color: #ddd;
display: block;
height: 100%;
isolation: isolate;
position: relative;
z-index: 5;
}

Any positive z-index will fix the problem

Environment info

WordPress 6.6 fresh install

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes
@83pixel 83pixel added the [Type] Bug An existing feature does not function as intended label Jul 22, 2024
@rgerhards
Copy link

I can confirm this bug. It's very annoying, as I have source citations usually at the end of the posting. I want them to open in a new window. Since a couple of updaes, this no longer is possible during link insertion, but only afterwards via the property dialog. This is now also no longer available ;-)

Work-around: add 6 blank paragraphs, edit link, delete these 6 paragraphs. Just if someone else comes across this bug.

@talldan
Copy link
Contributor

talldan commented Jul 23, 2024

Thanks for reporting, though there's already an existing issue for this - #62998.

I'll close this as a duplicate.

@talldan talldan closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
@stokesman
Copy link
Contributor

Work-around: add 6 blank paragraphs, edit link, delete these 6 paragraphs. Just if someone else comes across this bug.

That’s a solid workaround. I did want to mention that quicker one can work given there’s enough content in the page that scrolling up will leave too little room for the popover to fit below the text. Here’s demo:

popover-flip.mp4

Still, the bug is annoying but it might help save a little frustration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants