Commit 88690dc
committed
fix(deeplink): event-path delivery also clears pendingFocusProvider stash
`dispatchFocusConnector` writes the stash before firing the event so the
drain-on-mount path covers a SettingsView that hadn't mounted yet. But
when SettingsView IS mounted, the event handler ran without clearing
the stash — the next mount (tab navigation back to Settings) then
re-drained it and fired a spurious scroll/flash on the previously
focused panel (Greptile P1 follow-up after the timing-race fix).
Clear the stash inside the event handler too, so whichever delivery
path lands first consumes it.1 parent e89aa01 commit 88690dc
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
771 | 777 | | |
772 | 778 | | |
773 | 779 | | |
| |||
0 commit comments