frontend: keep features modal visible after scrolled row clicks - #258
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Correct the mixed accessibility state so it reflects the control’s actual checked state.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates feature rows so clicking after scrolling no longer moves the modal off-screen.
Changes:
- Replaces hidden-checkbox labels with
role="checkbox"row controls. - Adds Enter and Space keyboard activation.
File summaries
| File | Summary |
|---|---|
frontend/src/components/FeaturesModal.tsx |
Implements the updated feature-row interaction model. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
4496ade to
0aedae6
Compare
Previous review (2026-09-14)Automated review note — AI-generated (Claude), independently cross-checked by a second model and re-verified against the live diff. Please sanity-check before acting. Reviewed at head Verdict: COMMENT — the fix works, with one small keyboard regression. Both reviewers drove the real
Issue
Notes
|
0aedae6 to
0547f77
Compare
|
Fixed the issue highlighted in the AI review. About the notes,
|
Previous review (2026-09-15)Automated review note — AI-generated (Claude), independently cross-checked by a second model and re-verified against the live diff. Please sanity-check before acting. Re-reviewed at head The held-key confirmation bypass is fixed. One small side effect of where the guard sits: a held Space now scrolls the list. Verdict: COMMENT (unchanged), one-line fix. Previous round
Issue
Also checked: |
Label clicks on the visually hidden checkbox were scrolling the overflow-hidden dialog panel, which made the modal look blank. Co-authored-by: Cursor <cursoragent@cursor.com>
0547f77 to
ae429a2
Compare
|
Automated review note — AI-generated (Claude), independently cross-checked by a second model and re-verified against the live diff. Please sanity-check before acting. Re-reviewed at head The held-Space scrolling is fixed. No blockers. Verdict: COMMENT → APPROVE.
Also checked: nothing inside the row is focusable, so the unconditional |
Clicking a feature name after scrolling the list scrolled the overflow-hidden dialog off-screen, so the modal looked blank. Rows are now
role="checkbox"controls instead of a<label>around a hidden checkbox, which stops the browser from scrolling that control into view.Made with Cursor