hossein-zare / react-native-dropdown-picker

A single / multiple, categorizable, customizable, localizable and searchable item picker (drop-down) component for react native which supports both Android & iOS.
https://hossein-zare.github.io/react-native-dropdown-picker-website/
MIT License
969 stars 294 forks source link

"loading" is not working when "addCustomItem" is set to true. #752

Open e20today opened 2 months ago

e20today commented 2 months ago

The ActivityIndicator will trigger when the list is empty.

However, when "addCustomItem" is enabled means that the list will never be empty because whatever is searched will be added to the list automatically.

This has usability issues because it's still possible to trigger a search based on existing values, while still allowing to append new values. Under this scenario, the users won't be aware that there's a search behind the scenes.