Block Comments: Fix canceling the form for a selected block#71862
Block Comments: Fix canceling the form for a selected block#71862
Conversation
|
Size Change: -55 B (0%) Total Size: 1.95 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 214565a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/17966852373
|
t-hamano
left a comment
There was a problem hiding this comment.
Nice refactoring 🎉I don't see any regressions in this PR.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
What?
This is a follow-up to #71308.
PR fixes the bug and allows canceling the reply for the currently selected block.
I also did the following refactoring of internal components:
focusThreadvalue. It wasn't required and was causing the mentioned bug.Comments.Why?
Testing Instructions
Testing Instructions for Keyboard
Same.
Screenshots or screencast
Before
CleanShot.2025-09-24.at.09.04.58.mp4
After
CleanShot.2025-09-24.at.09.02.23.mp4