Skip to content

fix(native-chat): reveal message chrome on keyboard focus, not any focus - #19426

Merged
brennanb2025 merged 4 commits into
mainfrom
brennanb2025/native-chat-hover-chrome-focus-visible
Sep 8, 2026
Merged

brennanb2025 merged 4 commits into
mainfrom
brennanb2025/native-chat-hover-chrome-focus-visible

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​16 $\color{#cf222e}{\Huge{\mathbf{−}}}$​7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​9
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 0

Clicking anything inside a native-chat message row left the row's copy, scroll-to-top and timestamp controls showing after the pointer had moved away — the row read as permanently hovered. Most visible on a tool run: expanding one parks focus on its disclosure button, and the controls below the message stay up.

Fixing that exposed a second, older problem on touch, so this PR covers all three input modes.

Cause

The reveal keyed on group-focus-within, which cannot tell a mouse click from a keyboard tab — so any click on a control inside the row satisfied it. Introduced on the assistant-controls line by #18744; #19218 added the second occurrence and made it easy to hit. Neither is at fault for the choice: :focus-within was simply the closest available spelling for "keyboard focus" at the time.

Measured on main, after a real click on a tool-run header:

activeElement                 = the run header <button>
activeElement :focus-visible  = false      ← not keyboard focus
group :focus-within           = true       ← but the reveal fires anyway
timestamp reveal opacity      = 1

Separately, the controls hid with a bare opacity-0 and pointer-events-none. Tailwind media-gates hover: to (hover: hover), so on a device with no hover they were invisible and inert — measured opacity 0 / pointer-events none. That surface is real: web-index.html boots the full renderer and ships as the "Open in browser" URL and as webClientUrl in the mobile pairing offer.

Change

Two class strings in NativeChatMessageRow.tsx — the assistant control cluster and the user-bubble timestamp:

  • keyboard: group-focus-within: → group-has-[:focus-visible]:
  • touch: the hide (opacity-0, pointer-events-none) moves behind can-hover:

Both spellings are the established in-repo idiom rather than new inventions. sidebar/ProjectHeaderActions.tsx:15 is the same hover-plus-keyboard-focus reveal and already uses has-[:focus-visible]: with a can-hover:-gated hide; main.css declares the can-hover variant for exactly this reason, and 32 files use it.

Proof

All three modes measured in the running app, real compiled Tailwind, real mouse and keyboard, both the shipping and pre-PR class strings side by side in one DOM:

state this PR before
idle, pointer device opacity 0 opacity 0
after mouse click, pointer moved away opacity 0 opacity 1 ← the bug
after keyboard focus opacity 1 opacity 1
touch (hover: none, pointer: coarse) opacity 1 / pointer-events auto opacity 0 / pointer-events none

Running the old spelling alongside is what makes it conclusive: had either variant silently failed to compile, its row would read wrong rather than the feature quietly dying. The keyboard and mouse rows were also independently re-derived by review in a separate instance, across every tab stop inside the row.

Regression protection

NativeChatMessageRow.tsx is now listed in hover-reveal-touch-action-visibility.test.ts, the existing ratchet for this rule — it was never in that list, which is how the file drifted. Ablation: reverting the can-hover: gate makes the ratchet fail and name both offending lines by file and line number. The two unit assertions cover the pointer-events half as well as opacity, and assert the ungated opacity-0 / pointer-events-none are absent, so a partial revert fails too.

Performance

:has() is worth measuring rather than assuming. Isolated single-rule stylesheets, real element insertion and removal, in the app's own Chromium:

transcript rows baseline with :has()
200 0.9 µs/mutation 7.1 µs
800 1.4 µs 10.9 µs
3200 11.5 µs 75.6 µs

The multiplier is real and scales with transcript length; the magnitude is ~64 µs per mutation at 3200 rows under a worst-case forced-sync measurement.

Verification

  • pnpm test src/renderer/src/components/native-chat/ + the ratchet — 114 files, 1190 tests passing
  • pnpm tc, oxfmt --check, oxlint, React Doctor, changed-code quality gate — clean
  • Behavioural measurements above, in the app, across mouse / keyboard / touch

Scope and known gaps

  • Touch ergonomics are not addressed. The controls become visible and tappable, but hit targets are unchanged and there is no touch-specific overflow menu. A fuller treatment would enlarge targets on coarse pointers; that is a separate piece of design work, not a two-line fix.
  • ~25 other group-focus-within reveals share the original defect. Most are not a mechanical swap, because their group carrier is itself focusable and :has() only matches descendants. Reported, not touched.
  • The ratchet's regex does not recognise the group-has-[:focus-visible] spelling on its own; these lines are still covered via their group-hover token and via the can-hover: gate, but a future file using only the new spelling would escape it.
  • The native mobile app has its own message row with always-visible controls, so it is unaffected by any of this.
  • Touch behaviour was measured under emulated hover: none / pointer: coarse in Chromium, not on a physical device or in Safari.

Found while reviewing #19372; not caused by it, and reproduces on main.

`:focus-within` cannot tell a mouse click from a keyboard tab, so clicking any
control inside a message row — a tool run's disclosure, most visibly — parked
focus there and left the row's copy, scroll, and timestamp chrome showing after
the pointer had moved away. The row read as permanently hovered.

`:focus-visible` is the distinction the browser already computes, and it is the
keyboard focus this reveal was written for in #19218. Measured in the running
app: after a real click on a run header, `document.activeElement` is that button
and `:focus-visible` is false, while `:focus-within` is true.
@coderabbitai

coderabbitai Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 8fb1ce36-f212-4bd9-815d-8b726e896595

📥 Commits

Reviewing files that changed from the base of the PR and between 4f0e380 and 851d44f.

📒 Files selected for processing (4)
  • src/renderer/src/components/hover-reveal-touch-action-visibility.test.ts
  • src/renderer/src/components/native-chat/NativeChatMessageList.test.tsx
  • src/renderer/src/components/native-chat/NativeChatMessageRow.test.tsx
  • src/renderer/src/components/native-chat/NativeChatMessageRow.tsx
🚧 Files skipped from review as they are similar to previous changes (4)
  • src/renderer/src/components/native-chat/NativeChatMessageList.test.tsx
  • src/renderer/src/components/hover-reveal-touch-action-visibility.test.ts
  • src/renderer/src/components/native-chat/NativeChatMessageRow.test.tsx
  • src/renderer/src/components/native-chat/NativeChatMessageRow.tsx

Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review.


📝 Walkthrough

Walkthrough

Native chat timestamps and agent controls now apply hidden-state classes only on hover-capable devices. They remain visible and interactive on touch devices. Keyboard focus reveals the controls through group-has-[:focus-visible]: variants. Tests verify the conditional classes and include NativeChatMessageRow.tsx in touch-visibility checks.

Priority: ➖ Normal

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 851d4

Chat message controls now reveal for keyboard-visible focus and hover while remaining visible on touch devices. No current merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description provides detailed cause, changes, testing, performance, and scope information. However, it omits required template items, including a Linked Issue, Visual Proof or an explicit N/A expl… Add the required template sections and information. Include a linked issue after “Fixes #”, attach before-and-after visual proof or write exactly “N/A” with a reason, complete the Testing and Checklist items, and address the remaining templ…
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 4 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: message chrome now reveals on keyboard focus instead of any focus.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description provides detailed cause, changes, testing, performance, and scope information. However, it omits required template items, including a Linked Issue, Visual Proof or an explicit N/A explanation, the checklist, and the required testing checklist details.

Resolution

Add the required template sections and information. Include a linked issue after “Fixes #”, attach before-and-after visual proof or write exactly “N/A” with a reason, complete the Testing and Checklist items, and address the remaining template headings or explicitly mark them as not applicable.

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one minor consistency suggestion inline, plus a touch-input note below.

Reviewed changes

  • Message chrome reveal narrowed to keyboard focus — NativeChatMessageRow swaps group-focus-within: for group-[&:has(:focus-visible)]: on the assistant control cluster (line 215) and the user-bubble timestamp (line 156), so a mouse click on a control no longer leaves the copy/scroll/timestamp chrome revealed once the pointer moves away. Hover reveal is untouched.
  • Test assertions updated in lockstep — NativeChatMessageRow.test.tsx now asserts the new variant class strings, so a revert to focus-within fails the suite.

The change is correct: :has(:focus-visible) is exactly the "keyboard focus" distinction #19218 wanted, the arbitrary variant compiles in this Tailwind v4 setup (and the in-app A/B in the PR description confirms it), and none of the focusable descendants in a message row are text-entry elements, so no click path still matches :focus-visible.

ℹ️ Touch input no longer reveals the chrome

[:focus-visible] matches keyboard focus, not touch taps, so on a touch-only device the copy/scroll/timestamp chrome loses its only reveal path — :focus-within used to fire on tap, and hover does not exist there. This is non-blocking: the row already reveals on bare group-hover with no can-hover:/[@media(hover:none)] fallback, and NativeChatMessageRow.tsx is not in HOVER_REVEAL_FILES in hover-reveal-touch-action-visibility.test.ts. Worth a conscious decision on whether native chat needs a touch affordance, but not a merge blocker.

Technical details
# Touch reveal path for native-chat chrome

## Affected sites
- src/renderer/src/components/native-chat/NativeChatMessageRow.tsx:156 — user-bubble timestamp reveal
- src/renderer/src/components/native-chat/NativeChatMessageRow.tsx:215 — assistant control cluster reveal

## Required outcome
- Decide whether touch-only users need a way to reveal the copy/scroll/timestamp chrome. If so, add a `can-hover:`/`[@media(hover:none)]` fallback consistent with the `hover-reveal-touch-action-visibility.test.ts` convention (and add this file to `HOVER_REVEAL_FILES`). If not, no change required.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

…-class has variant

Swaps the hand-rolled arbitrary variant `group-[&:has(:focus-visible)]:` for
Tailwind's `group-has-[:focus-visible]:`. Every other `has-` variant in the
renderer is already spelled in the bracket form, including the same
hover-plus-keyboard-focus reveal on the project header actions.

Measured in the running app: both spellings compile to an equivalent selector
and are identical in every state (idle, mouse click on a control inside the
row with the pointer moved away, and each keyboard tab stop).

Also asserts the pointer-events half of both reveals, which governs whether
the copy button is clickable and had no coverage.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Arbitrary has variant swapped for the first-class form — the two group-[&:has(:focus-visible)]: strings on the assistant control cluster (line 215) and user-bubble timestamp (line 156) become group-has-[:focus-visible]:, matching the existing has-[:focus-visible]: usage in ProjectHeaderActions.tsx:15. Semantically identical, consistency/readability only.
  • Test assertions strengthened — both toHaveClass blocks now also assert group-hover:pointer-events-auto and group-has-[:focus-visible]:pointer-events-auto, so the pointer-events half of the reveal is pinned alongside the opacity half.

This resolves the prior inline suggestion (arbitrary group-[&:has(...)] → first-class group-has-*). The touch-input note from the prior review still stands and remains non-blocking.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Merge-gate review — approve, with one measured consequence to decide on

Reviewed at cf849d5ab5, re-verified at 68f1339fa1 after the changes below. Two adversarial review passes plus a measured validation leg in a running dev build.

The fix is correct, and I re-derived the evidence independently

Both class strings and both spellings were rendered side by side in one DOM in a running Electron dev instance, using the app's own compiled stylesheet, driven by real mouse and keyboard input through CDP:

state group-focus-within (before) group-has-[:focus-visible] (after)
idle 0 0
mouse click on the tool run, pointer moved away 1 — the reported bug 0 — fixed
mouse click on a control inside the chrome, pointer away 1 0
Tab to the tool run 1 1
Tab to the copy button 1 1

So the keyboard reveal #19218 added is fully preserved, including focus landing anywhere in the row — not just on the chrome's own controls. pointer-events-auto tracks the same condition, so the copy button stays clickable in every state where it is visible.

The diagnosis holds up: :focus-within was the wrong primitive rather than a wrong application of the right one. Worth noting the assistant-controls line carried group-focus-within before #19218 as well; #19218 added the user-bubble timestamp line and made the behaviour much more visible, but it did not introduce the pattern.

What I changed and pushed

68f1339fa1 makes two small changes on the same lines:

Spelling. group-[&:has(:focus-visible)]: → group-has-[:focus-visible]:. The arbitrary variant works, but Tailwind v4 has this as a first-class variant, and every one of the ~14 has- variants already in the renderer is spelled in the bracket form — including ProjectHeaderActions.tsx:15, which is the same "reveal on hover, and on keyboard focus only" pattern:

'group-hover:pointer-events-auto group-hover:opacity-100',
'has-[:focus-visible]:pointer-events-auto has-[:focus-visible]:opacity-100',

There were no group-[&:has(…)] arbitrary variants anywhere in the codebase before this PR. I compiled both spellings with the repo's own Tailwind and measured them side by side in the app across every state above — identical in all of them, and identical in style-recalc cost — so this is readability and consistency only, with no behaviour change.

Test hardening. Both assertions checked only the opacity-100 half of each reveal. The pointer-events-auto half is what decides whether the copy button is clickable and had no coverage at all; a revert or typo confined to it would have shipped silently. Both assertions now cover it. Verified by ablation at the final head: reverting the source to group-focus-within fails both tests on both tokens.

Precedent

This matches established practice rather than inventing something. In-repo, ProjectHeaderActions.tsx:15 already solves exactly this problem this way. In external reference implementations I reviewed, two independent mature codebases arrived at the same :hover + :has(:focus-visible) shape for row chrome, one of them with an in-tree comment naming this precise bug — a mouse click leaves the control focused, and focus-within then pins the chrome open after the pointer leaves. No reference used a JS input-modality tracker or a focus-visible polyfill for this; pure CSS :focus-visible is the universal mechanism. One material observation: the reference codebases that fixed this fixed it in their sidebar rows and still have focus-within on their chat message rows, so this is the newer, better-understood pattern rather than the ambient majority.

Performance

$perf was in the template, and one reference codebase carries an explicit warning that Tailwind's group-has-* selector shape triggers a large restyle on DOM mutation in Blink. I measured it rather than take either side on faith, in the app's own Chromium, with isolated single-rule stylesheets and real element insertion/removal:

transcript rows focus-within group-has-[:focus-visible]
200 0.9 µs/mutation 7.1 µs
800 1.4 µs 10.9 µs
3200 11.5 µs 75.6 µs

The mechanism is real — roughly a 6.5x multiplier on style recalc, and it does scale with transcript length. The magnitude is not: even at 3200 rows it is ~64 µs of extra style recalc per DOM mutation, in a measurement that forces a synchronous recalc after every single mutation, which real streaming does not. Not a merge concern. Anchoring :has() on the small chrome container instead of the row would be cheaper still, but it loses the row-wide keyboard reveal, so it is the wrong trade.

The one thing to decide: touch surfaces lose the chrome entirely

This is measured, not theoretical, and it is the only finding I would not merge without a conscious decision.

Tailwind wraps group-hover: output in @media (hover: hover), so on a touch device the hover reveal never fires. :focus-within was not media-gated, so tapping the tool-run button used to reveal the chrome and make it tappable. :focus-visible does not match a touch tap. Under emulated hover: none / pointer: coarse with real touch events dispatched:

idle (touch)                    OLD opacity=0 pe=none | NEW opacity=0 pe=none
after real touch tap on tool    OLD opacity=1 pe=auto | NEW opacity=0 pe=none

This matters because web-index.html boots the full renderer App, and that build is handed to users as the "Open in browser" URL and as webClientUrl in the mobile pairing offer — so message rows really do render under hover: none on a phone or tablet browser. On that surface, copy / scroll-to-top / timestamp now have no reveal path at all.

I deliberately did not fix this here. The repo's house rule is to gate the hide with can-hover: (as SidebarTaskNavButton.tsx:186 and ~30 other sites do), but that makes the chrome permanently visible on every message row on mobile web — a visible product change that belongs to whoever owns that surface, not to a two-line bug fix. Flagging it for a decision; happy to do it here if you'd rather it not ship separately.

Two related notes, both report-only, neither touched:

  • hover-reveal-touch-action-visibility.test.ts keys on a hardcoded file allowlist that has never included NativeChatMessageRow.tsx, and its detection regex does not recognise the group-has-[:focus-visible] spelling (the focus-visible token is followed by ], not :opacity-100). These lines are still caught via their group-hover token, but a future file using the new spelling alone would silently escape the ratchet. Worth teaching the regex the new spelling.
  • Roughly 25 other group-focus-within reveals exist across the sidebar, right sidebar, settings and table rows with the same click-stickiness. Not touched — out of scope. Most are not a mechanical swap: their group carrier is itself the focusable row, and :has() only matches descendants, so each needs the same non-focusable-carrier check this row passed.

Checks

pnpm test src/renderer/src/components/native-chat/ — 113 files, 1188 tests passing. pnpm tc clean. oxlint, React Doctor and the changed-code quality gate clean on both changed files. Ablation re-proven at the final head.

Not verified

The behavioural evidence is from an isolated DOM using the app's real compiled CSS and real input, not from a seeded live transcript — the unit tests are what tie the class strings to the right elements. The touch result is Chromium under emulated hover: none, not a physical device or Safari. The :has() browser support floor (Firefox 121+, Dec 2023) is a small reduction versus :focus-within that only affects the browser-served web surface; I found no declared browser floor in the repo to check it against.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Touch reveal path restored — the hard-hide tokens opacity-0 / pointer-events-none on both chrome strings became can-hover:opacity-0 / can-hover:pointer-events-none, so on touch devices (hover: none) the copy/scroll/timestamp controls stay visible instead of losing their only reveal path once the :focus-within → :has(:focus-visible) swap removed the tap trigger. Desktop hover/keyboard reveal is untouched.
  • Touch-visibility ratchet extended — NativeChatMessageRow.tsx was added to HOVER_REVEAL_FILES, and both NativeChatMessageRow.test.tsx suites now assert the can-hover: hide variants plus not.toHaveClass('opacity-0', 'pointer-events-none'), so a revert to a bare hover-only hide fails the suite.

This closes the touch-input gap flagged in the two prior reviews. One housekeeping note: the PR description's "Known gaps" section still says touch "has no reveal path" and the can-hover: fix is "being decided separately", which now contradicts the implemented fix — worth a quick rewrite before merge.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Review status: land after fixes

The focused review found and fixed one in-scope regression: changing focus-within to has-[:focus-visible] removed the touch-browser reveal path. Commit 1e1aab18ea987d2418ddd958bafea0a6b5482579 gates the hide behind the existing can-hover variant while retaining hover and keyboard focus behavior.

Validation:

  • 37 focused tests and renderer typecheck passed; scoped lint/quality checks passed.
  • Real hidden Electron validation passed mouse click/leave, hover, keyboard row traversal, clipboard copy, and scroll behavior.
  • Paired web validation at 360×732 touch/coarse-pointer passed visible/tappable controls, copy, disclosure, long-transcript scroll, and no row overlap.
  • Paced interaction check over 83 rows recorded zero long tasks.
  • Full-surface screenshots:
    • Keyboard/copy:
    • Paired touch:
    • Mouse click/leave:

Architecture review found the CSS-owned mechanism appropriate; browser focus classification and hover-capability media queries match the required lifecycle without adding React state or event listeners. The final readiness review found no P0/P1/P2 issues.

The current static-analysis check is red because newer main has an inherited localization catalog mismatch (identical failing catalog blobs in main and the PR merge); changed-code lint itself passes. Grok Electron QA was unavailable due to its weekly usage limit, so Codex performed the requested equivalent CDP validation.

@brennanb2025

Copy link
Copy Markdown
Contributor Author

Review status: ready to land.

  • Same-model review loop found no proven functional, regression, architecture, or performance issues; no code changes were needed.
  • Readiness checklist completed at the start; no P0/P1/P2 findings.
  • Existing repository patterns support the can-hover and group-has-[:focus-visible] mechanism.
  • Targeted tests passed: 26 tests across NativeChatMessageRow and NativeChatMessageList (the broader Vitest invocation was inconclusive after initialization).
  • Electron screenshot validation was attempted but could not be completed because the orchestration worker lacked an active coordinator terminal handle; no screenshot evidence was attached.

@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@brennanb2025
brennanb2025 merged commit 6b60c23 into main Sep 8, 2026
28 checks passed
nwparker added a commit that referenced this pull request Oct 29, 2026
…ole subtrees

Tailwind compiles group-has-* to `.x:is(:where(.group\/g):has(...) *)`: a
non-subject :has() whose subject is `*`. Together with any attribute :has()
in the sheet (e.g. card.tsx has-data-[slot=card-action]) and a non-subject
:has() on a large ancestor, Blink restyles the whole subtree under the
anchor on every mutation, so Mermaid label measurement, streaming code
blocks and rich-editor edits paid for thousands of elements per forced
style read.

(a) SshTargetCard and NativeChatReasoningChevron use the scoped
    [[class~='group/x']:has(:focus-visible)_&] shape from #23725, keeping
    the keyboard-only reveal (#19426). This is the whole measured win.
(b) rich-markdown-editor.css drops a redundant :has(): .markdown-toc-header
    only renders inside .markdown-toc-panel. Defence in depth; measured
    close to neutral once (a) lands.

Guard: check-has-restyle-scope.mjs compiles the renderer's Tailwind CSS
with Tailwind's own API, adds the plain renderer stylesheets, lowers
nesting with lightningcss and walks its selector AST. It flags any
non-subject :has() (outside sibling-only arguments) whose subject compound
has no class, id or attribute, carrying context through :is/:where/:not.
Reading compiled output covers the Tailwind spellings, @apply and nested
CSS forms tested so far. It runs in pnpm lint, check:changed and PR CI.

Hidden Electron 43.8.1, real compiled Tailwind, ~8.3k-node DOM, per
iteration, all from (a): rich editor with TOC 19.4 -> 1.6 ms; native-chat
code block append 12.5 -> 3.6 ms (3,184 -> 3 elements restyled); large
group row 8.0 -> 2.4 ms (2,003 -> 2).

Fixes #34312

Co-authored-by: Naufaldi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant