WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.46k stars 4.18k forks source link

Block appender no longer appears after scrolling down #65598

Open CreativeDive opened 3 weeks ago

CreativeDive commented 3 weeks ago

Description

If you open the block popover via the render appender and then scroll down, the block appender will no longer be displayed at all.

Step-by-step reproduction instructions

  1. Add as many blocks until the editor area is scrollable.
  2. Hover your mouse over a top block until the block appender appears. Click on it to open the block popover.
  3. Scroll down
  4. Now try to display the block appender in other blocks using mouseover.
  5. This no longer works

Screenshots, screen recording, code snippet

https://github.com/user-attachments/assets/e85bbc45-9c81-45cd-907c-543569df4613

Environment info

Please confirm that you have searched existing issues in the repo.

Please confirm that you have tested with all plugins deactivated except Gutenberg.

ndiego commented 3 weeks ago

Good find. I am also able to replicate using the latest version of Gutenberg (19.3). When the popover is open, it seems like the appenders are disabled. If you manually click out of the modal, everything works as expected. But if you scroll down with the modal open, it disappears but does not reset the appenders.

Mamaduka commented 3 weeks ago

I was tracking a similar issue recently, and it was fixed by other means; I didn't get a chance to fix the second source of the bug. Details: https://github.com/WordPress/gutenberg/issues/65106#issuecomment-2339919206.