Repository navigation
Keep New reply focused when the floating panel scrolls - #3162
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 19, 2026
The two remaining browser failures in [main CI run 39295617122](https://github.com/max-sixty/leaf/actions/runs/39295617122) came from test presses landing on the comment card rather than their intended page targets. [#3157](#3157) deliberately made the card’s painted rows a drag grip while writing; the adjacent button and passage in these fixtures now sit behind that grip. Move the newer button above the composer’s area and give the draft test’s second passage its own clear line. The tests still use real presses to check that a later control keeps focus and that each passage keeps its own unsent words. Both cases failed on current `main` before this change and pass after it; the focus test’s other parameter also passes. The run’s other five failed cases are addressed by merged [#3161](#3161), [#3162](#3162), and [#3163](#3163); those cases passed in the focused current-main run. --------- Co-authored-by: leaf-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Focusing the floating panel’s New reply button could scroll its thread view. The scroll handler then removed that focused button before Enter activated it, leaving focus on the page body. Keep the button while it holds focus; activating it still reveals the waiting reply and returns focus to the thread view.
Main CI run 39292373577 failed
test_the_thread_walk_stands_on_each_thread_it_opens. The failure reproduced on currentmainand in 16 of 18 loaded local copies before this change. The focused test passes after the fix, including 18 of 18 loaded copies and a rerun after rebasing onto currentmain.pnpm run checkalso passed.