Releases: rhventures/react-native-dropdown-selector
Releases · rhventures/react-native-dropdown-selector
Release 0.2.1
Release 0.2.0
Added
- Add a row of 3 plain single selectors to example app (#19).
- Add a row of 3 plain multi selectors to example app (#19).
- Add a customized single selector to example app (#19).
- Add a customized multi selector to example app (#19).
- Add an animated GIF showcasing the example app on README (#23).
- Selectors are now able to be disabled via providing a boolean prop (#25).
- Selectors are now able to have a search bar via providing a boolean prop (#27).
- Add a plain multi selector to example app that toggles the
disabledandsearchableprop in all other selectors (#28). - Add pre-commit hooks to ensure code quality (#53).
- Added a new string prop
themeto allow explicit customization ofSelectandMultiSelectcomponents. Options aresystem,light, anddark(#55).
Changed
- Internal: Replaced
SelectorPos,listWidth, andlistXwithSelectorRect(#21) - Content inside the dropdown list will now be cut off if it extends beyond the dropdown list boundaries (#22).
- Technical details from README is now moved to GitHub Wiki (#23).
- Old screenshots of the example app are replaced by new ones (#23).
- Cleanup npm packages in preparation for a 0.2.0 release. (#67)
- The
onRemoveprop is added to the selector components to be triggered when items are removed, rather than triggeringonSelect(#60).
Removed
- Background of the dropdown arrow is removed (#22).
Fixed
- Width of the dropdown lists becomes equal with the selector box by default, rather than expanding as wide as the screen width regardless of the selector box width (#20).
- Setting a custom numeric
widthstyle forlistStylenow works as intended (#20). - Setting
centerfor a customalignSelfstyle forlistStylewill now center it correctly (#20). - Specifying a percentage for a custom
widthstyle forlistStylewill now be properly handled (#21) - The dropdown list offset now correctly aligns with the selector box when positioned above it with different default list height and when the list height is not max height (#22).
- The clear button for multi select no longer blocks the dropdown list in landscape mode (#22).
- Setting a default value for multi select now works as intended (#22).
- The dropdown list now move above the selector box based on current dropdown list height, not max height (#22).
- The dropdown list now no longer lags behind when trying to render in a new position (#59).
- Pressing the clear button now also triggers
onRemoveprop for all items removed (#62). - The styling of the example app's background and text now update dynamically based on light/dark mode. (#69)
Release 0.1.0
Released on 2024-06-28
Added
- Android support
- iOS support
- Single selection
- Multi-selection
- Clear button on multi-selection
- Custom styling