-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Encapsulates listbox and trigger slot construction (#30010)
* refactor: Encapsulates listbox and trigger slot construction Removes the `useTriggerListboxSlots` hook in favour of separate `useListboxSlot` and `useTriggerSlot` hooks for better encapsulation of each behaviour. Also stop using `hasFocus` as a method of opening the listbox popover. * changefile * revert story * add deprecation message * remove prop drilling * cleanup ref handling * improve ref handling * revert unnecessary * feedback * improve slot resolution
- Loading branch information
Showing
10 changed files
with
543 additions
and
473 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-combobox-05096ff8-98cf-46e5-b371-d525d4e9f4eb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "refactor: Encapsulates listbox and trigger slot construction", | ||
"packageName": "@fluentui/react-combobox", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.