react-native-autocomplete-dropdown icon indicating copy to clipboard operation
react-native-autocomplete-dropdown copied to clipboard

Enhancement: Typing will always show loading icon

Open doubleppereira opened this issue 4 months ago • 0 comments

Currently every time the user types even with a debounce effect and controlling the loading prop externally it shows a spinner

Current behaviour:

https://github.com/user-attachments/assets/92ac6749-150a-4155-a897-96e93d7e6daf

As we can see above since there is a debounce of 700ms the user is still typing we will see the loading icon and then a second where it stops shows clear button and then it reached end of loading state.

Intended behaviour: I would like to show the loading spinner only if loading prop is set to true and not when user types. this seems to influence the rendering or not of the clear button

doubleppereira avatar Oct 22 '24 13:10 doubleppereira