Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Typing will always show loading icon #145

Open
doubleppereira opened this issue Oct 22, 2024 · 0 comments
Open

Enhancement: Typing will always show loading icon #145

doubleppereira opened this issue Oct 22, 2024 · 0 comments

Comments

@doubleppereira
Copy link

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

Current behaviour:

Screen.Recording.2024-10-22.at.14.54.39.mov

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 doubleppereira changed the title Typing will show loading icon Enhancement: Typing will always show loading icon Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant