Releases: citizensadvice/react-combo-boxes
Releases · citizensadvice/react-combo-boxes
v3.0.2
v3.0.1
- Added
tabindex="-1"
to the listbox table container to prevent it becoming an extra tab-stop - Fix floating UI peer dependency was pinned to a minor version
v3.0.0
- Updates SASS from
@import
to@use
to fix deprecation warnings (potentially breaking) - Updates SASS to fix mixed declaration errors
- Do not close a combo-box or drop-down if the focus is leaving the browser window
- Add Node 22 to testing matrix
- Switch to eslint 9
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