Menu ▾ ▴

#116 Hide Names: fallback text-node wrapping desyncs React preview updates

closed
nobody
2026-07-18
2026-07-17
Anonymous
No

Originally created by: kristofferR

The fallback wrap path in hide-names.ts (wrapTextRange) replaces a React-owned text node with three new nodes. React updates text-only children by assigning nodeValue on its retained (now detached) node, so subsequent preview updates for that row go nowhere and the visible preview stays stale until React remounts the row — and the ≤150ms rescan keeps the original node from ever coming back. Marking the nearest element (accepting slightly wider blur) avoids mutating React-owned text.

Related

Tickets: #135
Tickets: #137

Discussion

  • Anonymous

    Anonymous - 2026-07-18

    Originally posted by: kristofferR

    Fixed in [#137] as part of the privacy-feature regression fixes: the Hide Names fallback text-node wrapping no longer desyncs React preview updates.

     

    Related

    Tickets: #137

  • Anonymous

    Anonymous - 2026-07-18

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.