-
Notifications
You must be signed in to change notification settings - Fork 15
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
Multiple simultaneous $ajax
calls to the same URL cancels the request
#117
Comments
Hey thanks for reporting this. So the intended behavior is that a request will be cancelled if a new request is issued that targets the same element. |
I found another similar situation with a search field. Because I had the @search, it was triggering two times simultaneously if I press enter, entirely cancelling the request. Worse is that it's cancelled forever: that search phrase never works again until a refresh.
Now granted, the fix is to just get rid of the |
Thanks for this reproduction, that helps narrow things down. Sorry for the delay in getting to this, I wonder if there's an issue where |
Alright, I'm able to reproduce this on my end. |
I have a situation where a websocket was sends updates back to the browser.
These send a window custom message that alpine is listening for and then triggering an
$ajax
to update some stuff.If I get two updates at the same time, the request is cancelled.
The text was updated successfully, but these errors were encountered: