Releases: thdoan/pretty-dropdowns
Releases · thdoan/pretty-dropdowns
Version 4.8.0
- Added
classic
option (menu items don't rearrange upon selection) - Changed selected item marker from chevron to selectedMarker when menu is open
Version 4.7.2
- Fixed 1px jitter on menus with divider lines when selecting items
- Fixed multi-select menus having 1px larger height
Version 4.7.0
- Added
data-prefix
anddata-suffix
to add custom HTML to menu items
Version 4.6.0
- Added support for option groups (
<optgroup>
) - Added
refresh()
public method - Added
afterLoad
callback option - Enhanced multi-select style
- Refactored code
Version 4.4.0
- Added support for disabled
<select>
and<option>
- Added
aria-label
for accessibility - Added more comments
- Normalized some code
- Removed
.changing
hack (again) - Fixed FOUC when using keyboard to select reverse menu
- Fixed reverse menu is blank after selection in rare cases
Version 4.2.0
- Added
id
to container for easier styling - Fixed menu getting stuck in open state in some cases
- Fixed regression with reverse menus
- Fixed default selected options not checked (multi-select)
- Fixed selected options item shouldn't have ARIA role (multi-select)
- Fixed tooltip not updated to show default selected options (multi-select)
- Refactored
Version 4.1.0
- Added support for
<label for>
(menu will get focus when you click on the label)
Version 4.0.0
- Added support for multiple-select lists (
<select multiple>
) - Added
selectedDelimiter
option - Added
selectedMarker
option - Added
:focus
style - Moved
:hover
from container<div>
to<ul>
- Tweaked arrow padding
Version 3.3.3
- Disabled navigation when menu is closed to prevent unintended selections
- Refactored
handleKeypress
event handler - Fixed issue where the first menu item is not in view when there is a scrollbar
Version 3.3.0
- Added support for Tab keyboard navigation
- Added ARIA roles and attributes for accessibility
- Removed "changing" class hack (FOUC no longer visible)
- Fixed drop-down menu sometimes stuck in open state
- Refactored