Make WordPress Core

Opened 2 years ago

Last modified 4 months ago

#56421 new defect (bug)

Fix scrolling in Block Editor "Editor Content" inside "Group Block"

Reported by: ritterml's profile ritterml Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Administration Keywords: needs-testing needs-screenshots
Focuses: ui, javascript, administration Cc:

Description

When I am navigating with my up/down keyboard buttons inside a Group Block in the Block Editor "Editor Content" does not scroll until I scroll below the Group Block.

Change History (4)

This ticket was mentioned in Slack in #core-test by ironprogrammer. View the logs.


2 years ago

#2 @shibleemehdi
2 years ago

  • Keywords needs-testing needs-screenshots added

It would be better if a video is attached to show the issue.

This ticket was mentioned in Slack in #core-test by shibleemehdi. View the logs.


2 years ago

#4 @praveenkum1102
4 months ago

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

Note: See TracTickets for help on using tickets.