Releases: sa-si-dev/virtual-select
Releases · sa-si-dev/virtual-select
v1.0.46
v1.0.45
Added
- #312 - Added the following configuration options:
additionalDropboxClasses
- additional classes for dropbox elementadditionalDropboxContainerClasses
- additional classes for the dropbox container elementadditionalToggleButtonClasses
- additional classes for the toggle button element (PR #334 by @gnbm)- A new documentation section called Custom styling was added to better showcase the usage of these new options
- Added a callback function called
selectedLabelRenderer
to render the label of the selected item when select is closed, similar to labelRenderer (PR #337 by @AlexeySemenko )
Fixed
- Fixed an accessibility issue to guarantee that the component's focus occurs when the dropdown is closed. (PR #350 by @JoaoFerreira-FrontEnd)
v1.0.44
v1.0.43
Added
- #320 - A new option called
disableChangeEvent
was added to the methodreset()
to control if it will trigger the change event. (PR #322 by @gnbm)
Fixed
- #318 - Fixed an issue when using a dropdown with the search feature on, where the search feature became unresponsive after setting an empty options list. (PR #321 by @gnbm)
- #319 - Fixed an issue when using a dropdown with a custom
onServerSearch
function, where when a user searched for a specific term, the scroll-down got broken and all options disappeared. (PR #319 by @gnbm) - #320 - Fixed an issue on the
reset()
method that triggered the change event and caused an infinite loop when used for instance inside the change event listener. (PR #322 by @gnbm) - Improved the method
setOptionsPosition()
by adding aparseInt()
to help fix the issue with translate3D that in Chromium-based browsers under specific window sizes/resolutions, the dropdowns can have their content blurry.
To have this fixed it requires a fix in popper and popover plugins that are used as dependencies. (PR #324 by @gnbm)
v1.0.42
Added
- Accessibility improvements to the clear button present on the dropdowns. (PR #314 by @joselrio)
- New property ariaLabelClearButtonText: 'Clear button' that will help enhance accessibility when focusing on the dropdown clear button making it more verbose. (PR #316 by @gnbm )
Fixed
- #298 - Fixed an issue when destroying an instance of the virtual select, where the event listeners associated with it were not being properly removed. (PR #304 by @OS-giulianasilva)
- #311 - Fixed an issue when using dropdown with options shown as tags where the options had HTML content, causing the display of the tags to get broken. (PR #315 by @gnbm)
- #313 - Fixed an issue when using dropdown with settings including
allowNewOption: true
with an empty list of options that caused the search input to be disabled. (PR #315 by @gnbm) - Fixed an issue when using popup mode and preselected values that forced the focus to go to the dropdown when entering a screen. (PR #307 by @bmarcelino-fe)
v1.0.41
Added
- #270 - Added support for dropdowns showing selected options with tags to have tooltips whenever the text on the tag overflows its parent. (PR #286 by @gnbm )
- Added several accessibility improvements, such as:
- fixed the disabled behaviour since when a keyboard was in use to navigate through the screen it was possible to open a disabled dropdown;
- improved the options structure to reflect the correct information about each one by changing the way the focus was being managed;
- disabled
tabindex=0
on all options and set it only to the one that is focused; - removed
live-region
, while managing/updating focus when it will not be needed aria-label
was added to all the options;- disabled search input focus when there are no options to show;
- added the ability to clear all the selected options when the user uses the backspace or delete key;
(PR #276 and #294 by @joselrio)
Fixed
- #291 - Fixed an issue when opening a dropdown with search and pressing Tab when the search bar was enabled, where the dropdown was not being closed. (PR #276 by @joselrio)
- #290 - Fixed an issue where disabled elements were still functional if accessed via the keyboard. (PR #276 by @joselrio)
- Fixed issue an issue with
selectAllOnlyVisible:true
and empty filtered lists (filtering by an unexisting word the list was empty but the select all checkbox was being checked). (PR #287 by @gnbm)
v1.0.40
v1.0.39
Added
- Added logic to handle the Escape key when showing the Dropbox as a popup (
showAsPopup = true
), closing it. (PR #261 by @gnbm )
Fixed
- #246 - Fixed issue that caused Screen Readers not to be able to read the option items, while performing Arrow Down and Arrow Up. (PR #260 by @BenOsodrac)
- Fixed issue when navigating using the Tab key with the Dropdown open resulting in the focus being on the window itself (PR #260 by @BenOsodrac)
v1.0.38
Added
- #238 - New property
searchNormalize: false
that will allow searching by label ignoring diacritics in order to allow things like searching for 'Goncalo' and finding 'Gonçalo' or searching for 'Pole' and finding 'Pôle'. (PR #252 by @gnbm ) - #246 - New property
searchFormLabel: 'Search'
that will the used to enhance accessibility when using the search functionality on the dropdowns (PR #253 by @gnbm ) - #246 - New property
ariaLabelText: 'Options list'
that will the used to enhance accessibility when focusing on the dropdown wrapper making it more verbose (PR #253 by @gnbm )
Fixed
- #249 - Fixed issue with markSearchResults (and labelRenderer) replacing HTML tags (PR #250 by @neonrust)
- Fixed an issue to guarantee that the select is focused after the dropdown is closed (PR #256 by @JoaoFerreira-FrontEnd)