Releases: citizensadvice/react-combo-boxes
Releases · citizensadvice/react-combo-boxes
v3.0.0
v2.9.0
- If the value is updated for a combo-box and the listbox is visible and there is no user entered search, onSearch will be triggered
- React 18.3 support
- Remove default props in favour of default parameters
- Fix warnings on spreading
key
- Remove Node 16 from the test matrix
v2.8.1
- Fix layout functions were still being run without the listbox or input
v2.8.0
Changed
- (Potentially breaking): Layout functions are now called when the listbox is hidden,
allowing clean-up methods to be run
Fixed
layout_popover
is not hiding the popover when a listbox is closed which can result in the listbox not being in the top layer
v2.7.0
Added
- Added a new
layout_popover
to resolves issues displaying list boxes inside
of scrolling areas or a modal<dialog>
. If used, this has a peer dependency of floating-ui
Fixes
placeholderOption
should not produce an option for<Radios>
and<Checkboxes>
- layout functions could be called with the listbox or input as null if the ref changed before the animation frame
v2.6.2
- fixed
placeholderOption
should allow a blank value
v2.6.1
Fixed
marked-highlight
should have been adevDependency
v2.6.0
Fixed
- Simplification of how focus is managed to fix issues with the focus jumping back when tabbing from a combo-box
- The remove cross will no longer show if a selected option's label is blank
- Search suggestions example was not displaying any options
v2.5.1
Fixed
onSearch
was not being called with an empty string when a combo-box was cleared
v2.5.0
Added
renderGroupName
option added to<ComboBox>
and<DropDown>
Fixed
- Visually hidden incorrectly applied on non-breaking spaces in a list box