You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a0042af
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(chat): keep session picker stable during renders
* fix(chat): stabilize native session picker host
Keep the session picker ComboBox attached as a declarative native child across FunctionalUI renders, and harden native control lifecycle handling for mount, ownership, and event routing.
Co-authored-by: Copilot App <[email protected]>
* fix(ui): clean up native controls across render paths
* refactor(chat): replace NativeElement escape hatch with FunctionalUI ComboBox primitive
The #970 fix originally reached around FunctionalUI with a raw NativeElement
snapshot to keep the session picker open across status re-renders. Promote that
into a first-class rich ComboBox primitive so re-render stability is a framework
guarantee, not a per-call escape hatch.
- Add ComboItem + ItemComboBoxElement with static ItemsEqual; ConfigureItemComboBox
only rebuilds items when the list actually changes, preserving an open flyout.
- Migrate both the session picker and the model picker (which had the same
unfixed #970-class bug) onto the primitive.
- Remove NativeElement and its tests entirely.
- Add pure ItemComboBoxTests and source-contract ComposerSessionPickerTests
guarding against escape-hatch regressions.
Co-authored-by: Copilot App <[email protected]>
---------
Co-authored-by: arturict <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Copilot App <[email protected]>
0 commit comments