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

Async selector's "isLoading" prop not working #3861

Closed
Mujaddadi opened this issue Nov 21, 2019 · 2 comments
Closed

Async selector's "isLoading" prop not working #3861

Mujaddadi opened this issue Nov 21, 2019 · 2 comments

Comments

@Mujaddadi
Copy link

Mujaddadi commented Nov 21, 2019

I know that this issue has been reported earlier but I am not sure whether it is fixed or not. If I try to set the loading state manually by passing the isLoading prop to the selector, it doesn't show loading effect. I modified the example provided in the doc a bit- You can check it here.
Example

Without this prop working, we can't use react-select's Async functionality, if we are using any side effect library such as saga. The example given in documentation expects us to call the api inside the loadOptions function by using promises etc.

@alexristich
Copy link

Looks like it's fixed but not yet released: #3690 (comment).

@bladey
Copy link
Contributor

bladey commented May 28, 2020

Hello -

In an effort to sustain the react-select project going forward, we're closing old issues.

We understand this might be inconvenient but in the best interest of supporting the broader community we have to direct our efforts towards the current major version.

If you aren't using the latest version of react-select please consider upgrading to see if it resolves any issues you're having.

However, if you feel this issue is still relevant and you'd like us to review it - please leave a comment and we'll do our best to get back to you!

@bladey bladey closed this as completed May 28, 2020
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

3 participants