-
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
Can't scroll WP menu when in editor #9996
Comments
So I'm personally not able to reproduce this — on my end, it scrolls, but the menu does scroll separately from Gutenberg. That said, there was another report of this in Slack so it's probably worth investigating further. It's also not a great UX to effectively have three separate scroll areas: the left menu, the center editor canvas, and the right inspector sidebar. I wonder if there's a sensible way to consolidate these into fewer scroll areas? |
I can also confirm @maximebj bug report. Tested with Gutenberg version 3.9 in:
|
@chrisvanpatten I can reproduce the error. If you just resize the window you can scroll, but if you reload the window you aren't able to scroll anymore. |
To make this a bit easier to test you can drop this into a file in <?php
/*
Plugin Name: Long Menu
Description: Gives you a really long menu
*/
function really_long_menu() {
}
function add_really_long_menu() {
for ( $loop = 1; $loop < 30; $loop++ ) {
add_menu_page( 'Long Menu ' . $loop, 'Long Menu ' . $loop, 'manage_options', 'page-' . $loop, 'really_long_menu' );
}
}
add_action( 'admin_menu', 'add_really_long_menu' ); I've determined that it's something to do with the |
Debugging further,
|
When having a very long WordPress Menu, it can't be scrolled on the editor page :
I think it's just a small CSS issue. This seems to cause the issue:
@media (min-width: 782px) .gutenberg__editor { min-height: calc(100vh - 32px); }
Gutenberg v 3.8
The text was updated successfully, but these errors were encountered: