fix(reactions): make the picker filter actually hide cells (LC-391) #403

Merged
longjacksonle merged 1 commit from feat/lc-389-full-emoji-picker into main 2026-06-20 06:30:59 +02:00

The LC-274 filter hides non-matching cells via the [hidden] attribute, but .lc-emoji-cell (display:inline-flex) and .lc-emoji-tabs (display:flex) are author rules that override the UA [hidden]{display:none} regardless of specificity, so filtered-out cells and the hidden tab strip kept showing and the filter looked dead (typing "heart" narrowed nothing). Same class of bug as the LC-385 regression.

Add .lc-emoji-cell[hidden], .lc-emoji-tabs[hidden] { display: none } - the attribute-qualified selector (0,2,0) beats the bare class (0,1,0), no !important needed. Category sections already hide (default block display), so a matching category now shows only its matching cells. Fixes both the reaction and composer pickers in all four themes.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

The LC-274 filter hides non-matching cells via the [hidden] attribute, but .lc-emoji-cell (display:inline-flex) and .lc-emoji-tabs (display:flex) are author rules that override the UA [hidden]{display:none} regardless of specificity, so filtered-out cells and the hidden tab strip kept showing and the filter looked dead (typing "heart" narrowed nothing). Same class of bug as the LC-385 regression. Add .lc-emoji-cell[hidden], .lc-emoji-tabs[hidden] { display: none } - the attribute-qualified selector (0,2,0) beats the bare class (0,1,0), no !important needed. Category sections already hide (default block display), so a matching category now shows only its matching cells. Fixes both the reaction and composer pickers in all four themes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fix(reactions): make the picker filter actually hide cells (LC-391)
All checks were successful
check-secrets / TruffleHog (push) Successful in 3s
check-secrets / Kingfisher (push) Successful in 4s
check-secrets / Nosey parker (push) Successful in 5s
check-secrets / Nosey parker (pull_request) Successful in 3s
Create release / Create release from merged PR (pull_request) Has been skipped
check-secrets / TruffleHog (pull_request) Successful in 4s
check-secrets / Kingfisher (pull_request) Successful in 5s
Check / clippy + fmt + tests (pull_request) Successful in 2m52s
dcbca36812
The LC-274 filter hides non-matching cells via the [hidden] attribute, but .lc-emoji-cell (display:inline-flex) and .lc-emoji-tabs (display:flex) are author rules that override the UA [hidden]{display:none} regardless of specificity, so filtered-out cells and the hidden tab strip kept showing and the filter looked dead (typing "heart" narrowed nothing). Same class of bug as the LC-385 regression.

Add .lc-emoji-cell[hidden], .lc-emoji-tabs[hidden] { display: none } - the attribute-qualified selector (0,2,0) beats the bare class (0,1,0), no !important needed. Category sections already hide (default block display), so a matching category now shows only its matching cells. Fixes both the reaction and composer pickers in all four themes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
longjacksonle deleted branch feat/lc-389-full-emoji-picker 2026-06-20 06:30:59 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/lets-chat!403
No description provided.