-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Floated blocks cause visual overlay issues #7500
Comments
Do you have an idea of what that could look like? Just as a rough concept? |
Closed #7848 as a duplicate. |
Noting this isn't just the image block: #6288 |
Another one to consider in this is what happens on the bottom with overlaps and lack of clearing: #6490 |
@SuperGeniusZeb - I quite like the redesign in #6224, but not sure it solves the issue, unless the controls were only visible when the block is selected and they were made to sit over the top of the floated element. Here's a quick sketch showing how things would overlap: One other side effect of the block controls being at the bottom is that you end up with bigger gaps between paragraphs. |
@talldan The block controls would not take up space on hover (just like they and the block toolbar do not take up space now), and as far as I can tell it is not even decided yet if they would take up space on a selected block. And of course, the controls would only be shown for blocks that are either selected or being hovered over. The standard distance between blocks should be unaffected by the change; only the selected block may be affected. |
@SuperGeniusZeb that makes sense. I don't think it solves this issue, which is a shame :( |
I think we should get a fix here without #6224 or at least not being dependent on that issue. We would need to extensively usability testing any block control change that major before bringing in. As a result we need a fix here over thinking that would be it. |
Closed #8355 to consolidate here because it's a concern about how to move floated blocks and the z-index issues mentioned here are closely related. Note that the concern in #8355 is more specifically about how to grab a floated block with the mouse and drag it to another location within the document. |
@karmatosed @jasmussen what is the status of this one? |
@omrllm The issue you appear to be seeing looks a lot like the browser is running in "Quirks Mode", which means it is rendering in compatibility mode. That suggests a plugin is at fault. More info in #12575. Can you try and deactivate plugins one by one to see if it starts working? I believe Yoast SEO should work, so maybe deactivate that one last to see if it's one of the others causing the issue. Let us know if a plugin is at fault, and which one it is, then I can reach out to the developer and suggest fixes. |
Alright, it's WD YouTube by WebDorado. |
Happy to help 👍
Sweet 😃 |
If you float a block the adding and suggested blocks doesn't always clear:
If you align to the right you get the suggested blocks vanishing:
This can even cause z-index issues like this:
I think if it's aligning we maybe need to not have suggested blocks, but open other ideas.
The text was updated successfully, but these errors were encountered: