gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Metaboxes overlap the content of the editor

Open RadoslavGeorgiev opened this issue 8 years ago • 10 comments

Describe the bug When the content is taller than the viewport, there are conflicts with meta boxes. They are not initially visible, however they appear once you start scrolling and hide the content that is displayed behind them.

If I remove the following declaration, the issue disappears:

.editor-writing-flow {
    display: flex;
    flex-direction: column;
    height: 100%;
}

To Reproduce The issue happens on a private website and cannot be publicly reproduced. 1517500-zen

Steps to reproduce the behavior:

  1. Open the edit screen of a post/page that has content, which is at least twice as tall as the viewport.
  2. Scroll down
  3. See error

Expected behavior No overlap

Screenshots

image

In this case I have collapsed the metaboxes in order to make it visible that the content continues beneath them.

Deactivating Yoast SEO / Monarch separately does not change this behavior.

Desktop:

  • OS: MacOS 10.14
  • Browser Google Chrome
  • Version 70

Additional context

  • Gutenberg 4.1.0 (latest atm)

RadoslavGeorgiev avatar Oct 25 '18 13:10 RadoslavGeorgiev

I tested using the steps provided with WordPress 4.9.8, Gutenberg 4.1.1, and Yoast 9.0.2 using Chrome 69.0.3497.92 on macOS 10.13.6 and I didn't see a problem with the meta boxes overlapping.

After that, I checked for the latest version of Yoast and noticed the changelog for 9.0.2 says:

Fixes a bug where the Gutenberg (v4.1) editor was partially hidden behind the metabox.

If you haven't already, please try upgrading to Yoast 9.0.2.

designsimply avatar Oct 25 '18 23:10 designsimply

I updated Yoast SEO to 9.0.2, but it did not fix it.

As mentioned in the initial report, the culprit cannot be Yoast SEO because even when I deactivate it, other meta boxes are getting in the way.

Is there anything else I could report that could be helpful?

RadoslavGeorgiev avatar Oct 26 '18 07:10 RadoslavGeorgiev

Is there anything else I could report that could be helpful?

Yes! Since the steps to reproduce didn't help me to see the problem happen when I tried testing, can you think of anything else in the steps I could try differently? Is it possible the conflict lies with the theme? As a basic troubleshooting step (and so we know this has been checked since it's a rather odd display issue kind of thing) could you try clearing browser cache and checking it again to see if that makes the problem go away? I tested with Chrome and didn't see the problem happen. I see you are also using Chrome, but is the problem also present for you in other browsers? (this could help rule out a browser-specific issue) Last thing I can think of 🙂 can you check your web developer tools console panel at the time you load the editor and see the problem happen and check to see if any errors or warnings show up there?

designsimply avatar Oct 26 '18 18:10 designsimply

@designsimply I started recreating the environment and I only needed the Divi theme in order to get to the same broken state.

I will work on reporting this to Elegant Themes.

Thank you for the help and ideas ;)

RadoslavGeorgiev avatar Oct 31 '18 09:10 RadoslavGeorgiev

So I'm having the exact same issue. Tried switching between two different themes from different vendors- same issue. Did you ever resolve this?

dynamicdriverepo avatar Apr 02 '19 07:04 dynamicdriverepo

@dynamicdriverepo this was a client-reported issue. We found the culprit and let our client report this to Elegant Themes, but we never received a status update, so we do not even know if the bug reached Elegant themes.

RadoslavGeorgiev avatar Apr 02 '19 08:04 RadoslavGeorgiev

Ok thanks. Strange, for me unfortunately, even switching to the default Wordpress 2019 theme has the same issue for me.

dynamicdriverepo avatar Apr 02 '19 08:04 dynamicdriverepo

I think I found the culprit, which happened to be a plugin actually, Sassy Social Share to be exact.

For anyone running into this problem in the future, I advise to try first disabling all plugins to see if that fixes the issue.

dynamicdriverepo avatar Apr 02 '19 08:04 dynamicdriverepo

I have this problem. It happens only in Chrome version 77. On Chrome 76, it works correctly. On the latest versions of Firefox and Opera, it works correctly. The problem lies specifically with Chrome 77. Tested on Windows 10 and on Linux Ubuntu, with all plugins disabled and using the default theme Twenty Nineteen.

paddylandau avatar Sep 12 '19 11:09 paddylandau

@paddylandau make sure you checkout the new ticket here: https://github.com/WordPress/gutenberg/issues/17406 with a solution posted

dbmpls avatar Sep 13 '19 14:09 dbmpls