Fix Ghost Focus Dead Zone Between Rubric Feedback Text Boxes#2101
Draft
Fix Ghost Focus Dead Zone Between Rubric Feedback Text Boxes#2101
Conversation
…xt boxes Agent-Logs-Url: https://github.com/FIRSTIsrael/lems/sessions/f5a6d226-47bd-41eb-a97e-9dc76e75a9d4 Co-authored-by: johnmeshulam <55348702+johnmeshulam@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix ghost focus area between feedback text boxes
Fix Ghost Focus Dead Zone Between Rubric Feedback Text Boxes
Apr 22, 2026
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.
Clicking in the margin between the "Great Job" and "Think About" feedback text boxes caused the cursor to enter an unrecoverable ghost-focused state where no input was possible.
Root Cause
A CSS specificity conflict between two MUI
sxprops silently zeroed outTableCellpadding, whileTextFieldretained an 8pxp: 1wrapper padding — creating a dead zone on each side of every input.TableRowsx:'& .MuiTableCell-root': { padding: '0px' }— specificity(0,2,0), overridesTableCell's ownpadding: '0.75em'at(0,1,0)TextFieldsx:p: 1— 8px on theFormControlwrapper (not the<textarea>)8px + 1px border + 8px) where clicks land on a non-focusabledivChanges
apps/frontend&apps/portal—feedback-row.tsx:padding: '0px'fromTableRow's nested'& .MuiTableCell-root'selector, allowingTableCell'spadding: '0.75em'to apply correctlyp: 1fromTextField'ssx, eliminating the dead-zone wrapper paddingThe
TableCellnow correctly provides0.75emspacing;TextFieldfills the padded area with no dead zones. Border-radius styles on the row are preserved.Type of change
Screenshots
Checklist