Opened 3 years ago
Last modified 3 weeks ago
#56421 new defect (bug)
Fix scrolling in Block Editor "Editor Content" inside "Group Block"
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | 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 (5)
This ticket was mentioned in Slack in #core-test by ironprogrammer. View the logs.
3 years ago
This ticket was mentioned in Slack in #core-test by shibleemehdi. View the logs.
3 years ago
#4
@
21 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:
- Log In & Navigate: Log in to WordPress and open the post editor.
- Add Group Block: Insert a Group Block.
- Add Content Inside Group Block: Add multiple blocks inside the Group Block until it's scrollable.
- Add More Content Below Group Block: Add additional blocks below the Group Block.
- Navigate with Keyboard: Use up/down arrow keys to navigate blocks within the Group Block.
#5
@
3 weeks ago
- Keywords needs-testing removed
Reproduction Report
Environment
- WordPress: 6.9
- PHP: 8.4.17
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Chrome 144.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.1
Steps taken
- Create a post and add a group block with several paragraph blocks inside it.
- Also, add a couple of blocks outside the group block.
- While at the top of the page, place the caret in one of the paragraphs inside the group block.
- Use your keyboard's down keys to move toward the bottom of the page.
- Observe the behavior.
- ❌ Bug is not occurring
Expected behavior
- The page scrolls down as the caret moves to the bottom of the editor.
Additional Notes
- This appears to be an editor writing-flow issue where caret movement via keyboard does not trigger editor canvas scrolling when focus is inside a Group block.
- This seems to have been fixed in Gutenberg.
It would be better if a video is attached to show the issue.