Repository navigation
Commit c3c5822
committed
fix(octane): ensure tentative falling edge renders when drain skips block
fallTransitionHook pre-sets isPending=false on the hook when its block
has a queued render in the drain. If the drain later skips that render
(aborted root transaction, retired subtree, or hidden-boundary redirect),
the pre-set value is never rendered. When finishTransitionHookBatch then
calls publish(false), it no-ops because isPending already matches,
leaving the UI stuck on the rising edge.
Fix: when publish sees that isPending already matches but the value was
tentatively pre-set (wasTentative && !pending), proceed to schedule the
render instead of returning early.1 parent bede4dc commit c3c5822
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44291 | 44291 | | |
44292 | 44292 | | |
44293 | 44293 | | |
| 44294 | + | |
44294 | 44295 | | |
44295 | | - | |
44296 | | - | |
| 44296 | + | |
| 44297 | + | |
| 44298 | + | |
| 44299 | + | |
| 44300 | + | |
| 44301 | + | |
| 44302 | + | |
| 44303 | + | |
| 44304 | + | |
44297 | 44305 | | |
44298 | 44306 | | |
44299 | 44307 | | |
| |||
0 commit comments