[wp-trac] [WordPress Trac] #56421: Fix scrolling in Block Editor "Editor Content" inside "Group Block"

WordPress Trac noreply at wordpress.org
Mon May 27 12:06:18 UTC 2024


#56421: Fix scrolling in Block Editor "Editor Content" inside "Group Block"
-------------------------------------+-------------------------------------
 Reporter:  ritterml                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing needs-     |     Focuses:  ui, javascript,
  screenshots                        |  administration
-------------------------------------+-------------------------------------

Comment (by praveenkum1102):

 Hey,
 I tried to reproduce this issue, and here is my test report:

 **Environment:**
 WordPress: 6.5.3 | 6.4
 PHP: 8.1
 Browser: Chrome 125
 OS: macOS

 **Theme**: Twenty Twenty-Four

 **Expected Result due to Bug**: The editor content does not scroll when
 navigating with up/down arrow keys inside the Group Block. Scrolling only
 resumes when you navigate to blocks outside (below) the Group Block.

 ** Actual Result**: In my testing, I found that when in edit mode (with
 the cursor blinking), the auto-scroll works flawlessly for all blocks,
 including the group block. However, when in block mode (pressing escape),
 the auto-scroll does not work for any block - when navigating using the
 up/down keys.

 **Steps Used for Testing**:
 1. Log In & Navigate: Log in to WordPress and open the post editor.
 2. Add Group Block: Insert a Group Block.
 3. Add Content Inside Group Block: Add multiple blocks inside the Group
 Block until it's scrollable.
 4. Add More Content Below Group Block: Add additional blocks below the
 Group Block.
 5. Navigate with Keyboard: Use up/down arrow keys to navigate blocks
 within the Group Block.

 **Video**:
 https://www.dropbox.com/scl/fi/qi0g863f30ddirq0usqwz/2024-05-27-17-32-23.mp4?rlkey=qjab0wc4d4nrycxhwiih4z1ce&st=0r5glnhw&dl=0

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56421#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list