Keep visible native editing owners within viewport culling
This commit is contained in:
@@ -999,3 +999,19 @@ normal ordered durability; unsaved work is private preparation with no created
|
||||
elements or requests. The low-level helper defaults to its prior per-slice
|
||||
checkpoint policy unless a cadence is requested. Checkpoint/source formats and
|
||||
resume IDs stay unchanged; a crash/pause can redo only unsaved private planning.
|
||||
|
||||
Native culling now checks active interaction owners instead of disabling itself
|
||||
for every focused input or editing mode. Visible native nodes (including nodes
|
||||
React Flow itself retains while dragging/initially measuring) keep culling on.
|
||||
An offscreen owner, connection/custom owner without a native node, or focused
|
||||
portal input without a native node still uses the conservative full-graph
|
||||
fallback so viewport changes cannot discard IME, drafts or gesture leases.
|
||||
Focus tracking stores the current input element and keeps the deferred blur
|
||||
fence, including direct transfers between inputs. This is not selective pinning:
|
||||
offscreen/custom interaction fallbacks can still mount the complete graph.
|
||||
|
||||
The actual-page performance probe double-clicks a visible text card with native
|
||||
Chrome input, checks mounted-node growth, inserts text and checks DOM identity,
|
||||
focus and content before measuring deep copy. It then clears selection with a
|
||||
native empty-pane click. Reports include `inputCheck.beforeEditing` and
|
||||
`inputCheck.duringEditing`; this preflight is outside the copy timing window.
|
||||
|
||||
Reference in New Issue
Block a user