You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reaction choices leave a borrowed margin fold open and can disrupt focus #2750
uv run pytest -q -n 2 tests/browser/test_render_reactions.py::test_putting_a_reaction_down_folds_back_only_the_cluster_it_unfolded tests/browser/test_render_reactions.py::test_the_fold_a_put_down_takes_back_does_not_take_the_users_focus
After e opens temporary reaction choices and Escape closes them, the target's More control can remain hidden with aria-expanded="true". The choices disappear, but the borrowed fold's ownership is not restored consistently. One test also checks that closing the fold does not steal focus from another target. The temporary responses contribution is removed in reactions.js::lowerMarginSurface; margin-projection.js retains the disclosure state and owner. A simple restoration after unregister did not pass either focused test, so the ownership and focus transition need to be settled together at the margin projection boundary.
#2753 merged the fold ownership fix. Reaction choices now release only the disclosure they borrowed; a fold already open for the user is restored, and a temporary fold closes without taking focus from another target. Both reported browser tests failed before the change and passed with it. The PR's test check was green on the merged head.
Activity
leaf-agent commentedon Oct 13, 2026
#2753 merged the fold ownership fix. Reaction choices now release only the disclosure they borrowed; a fold already open for the user is restored, and a temporary fold closes without taking focus from another target. Both reported browser tests failed before the change and passed with it. The PR's
testcheck was green on the merged head.