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 Scroll issue when no block patterns are defined #26688
Comments
Hi, I'm unable to reproduce this as shown in the video. https://f002.backblazeb2.com/file/cpl-public/tech-devel/2020-12-31-gb-26688.ogv Could you verify this is still an issue for you using the latest version of WordPress as well as installing and activating the Gutenberg plugin? |
@skorasaurus I just tested it with a clean new wordpress install that has no plugins installed, runs WordPress 5.6 and has a custom theme that does nothing expect Screen.Recording.2020-12-31.at.17.04.33.mov
<?php
add_action( 'after_setup_theme', function() {
remove_theme_support( 'core-block-patterns' );
} );
/**
* Theme Name: example
* Description: The only thing this plugin does is remove_theme_support( 'core-block-patterns' )
* Author: fabiankaegy
* Version: 1.0.0
* Tags:
* Text Domain: example
*/ Here is all of the site info:` ### wp-core ###version: 5.6 wp-paths-sizeswordpress_path: /var/www/html wp-active-themename: example (demo) wp-mediaimage_editor: WP_Image_Editor_Imagick wp-serverserver_architecture: Linux 4.19.121-linuxkit x86_64 wp-databaseextension: mysqli wp-constantsWP_HOME: http://localhost:8888/ wp-filesystemwordpress: writable ` |
Thanks for all of the details and the theme, I've duplicated your theme and I'm still not able to reproduce (using gutenberg 9.8.1); perhaps this is a browser issue exclusive to safari? Could you test on another browser? (I only have access to chrome, firefox). |
I have just tested this again on Chrome and on Firefox and it appears on both like I showed in the video. I am however like mentioned in the previous comment using core. So no Gutenberg plugin. |
Thanks for the clarification on the plugin, I missed that earlier, silly me. I still can't reproduce it, even when disabling gutenberg plugin; I'm using a vanilla site - just recreated my db and install; and used your theme. Unfortunately, i can't spend any more time on this today. |
I am no longer able to replicate this in Gutenberg 13.0 :) |
Describe the bug
When removing the theme support for 'core-block-patterns'
remove_theme_support( 'core-block-patterns' );
and not having any custom Block Patterns the editor scrolls past the content area into a white void.To reproduce
Steps to reproduce the behavior:
add
remove_theme_support( 'core-block-patterns' );
to a theme.make sure no other patterns are there
navigate to the editor
scroll down and see the overflow.
Editor version (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: