-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Editor Toolbar display issues in 6.3 #52688
Comments
I thought the << carrot icon is supposed to help with the problem. Maybe it's not adequately communicated? |
Yeah I think that was the intent, but the implementation still feels like something is broken. Perhaps this is more of a design bug, than a technical one? cc @richtabor @jameskoster |
And there is the issue that there is no toolbar visible when "Top toolbar" is not selected, not even carrots. |
Hmm I am not able to replicate this. Just the default Editor toolbar is visibility what "Top toolbar" is not selected (which is expected). Then when clicking on a block the block toolbar hovers above the block. @pg-greyd can you provide steps to replicate what you are seeing? |
Ahh I see. Thanks for the additional info. I missed this in reading the original report. I can confirm this issue. It also happens on the Mobile view. |
Also note, that the screenshots are made with the "Fullscreen mode" option off. This results in an even larger overlaping area, in my case half covering the "Publish/Update" button (see two middle screenshots). When other plugins are active, this can go as far that all three (Preview, View Page and Publish/Update) are hidden behind the Toolbar. |
These are the issues I can replicate:
The first issue seems like a relatively straight-forward styling problem. I'll open a PR soon. The second is a bit more involved. It seems that when you engage the tablet or mobile preview, block toolbars get positioned as if the top toolbar preference was active. But there is either logic or styles missing which means it doesn't work correctly and the toolbars are effectively hidden. I don't know why this behavior occurs. Perhaps it's because there isn't enough space in the mobile preview to display full toolbars? I'm hoping @draganescu might know, and be able to offer some suggestions. |
Most of these are implementation problems rising from the fact that the current top toolbar updates work by absolutely positioning the block toolbar on top of the editor chrome header part. This leads to a lot of tweaks being applied (particularly around breakpoints) so that items are not overlapped. But, as it's the case with breakpoints, there are in-between states that still fail. Adding more to the problems is the difficulty to properly absolutely position things when the editor is not full screen due to the many possible states of the admin sidebar. This is how things are now in RC1: top-toolbar-rc1.mp4
|
I narrowed dowm the problem with tablet/mobile preview to a bug which toggles a setting on erroneously: preview-bug.mp4 |
Very good! 👍 |
Given that #52722 will be included in 6.3, I think we can punt this issue to 6.4. |
Yesterday I opened this ticket in core trac (https://core.trac.wordpress.org/ticket/59035), and as suggested I leave this here in case it can be useful for you. |
#53526 is a new exploration that aims to solve problems by patching the bad implementation with even more tweaks. |
@draganescu I see the PR you linked to is labelled as an enhancement, whereas this issue is a high priority bug. For the minor release, only bug fixes should be considered so it would be good to patch any buggy behaviour here for 6.3.1, and consider enhancements for 6.4. Do you reckon that's doable? |
I don't know! :) #53526 is a bugfix as well. I should do a label switcharoo. |
I'm seeing behaviour now in 6.3 where the publish/preview actions are no longer visible on smaller screensizes when the Top Toolbar is enabled. top_toolbar_hidden.mov |
@jordesign that's expected when the top toolbar is expanded and the screen width is less than 960px. On clicking the caret to hide the top toolbar, the publish actions should display again. |
I agree that we can close this! Closing out but happy to have someone chime in and say otherwise. |
Description
A number of Editor toolbar issues were reported in #52648 (comment), but I wanted to have a separate issue specifically for these bugs.
I was also able to identify an additional issue related to the size of the "Top toolbar", notice the "Saved" message is partially hidden.
This becomes worse when plugins like Yoast are enabled. The width appears to be hardcoded and does not consider additional plugins.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
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
The text was updated successfully, but these errors were encountered: