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

feature: Spinners are preserved during redirects #30

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

zipper
Copy link
Contributor

@zipper zipper commented Aug 20, 2024

If the request ends in redirect, the spinners (and button spinners) are not removed. As the options are copied to the new (redirect) request, we only remove the spinnerInitiator and btnSpinnerInitiator fields so that the spinners are not duplicated. Once the redirect is complete, the spinners will be removed as the spinnerQueue and btnSpinner have been preserved.

If the request ends in redirect, the spinners (and button spinners) are not removed. As the options are copied to the new (redirect) request, we only remove the `spinnerInitiator` and `btnSpinnerInitiator` fields so that the spinners are not duplicated. Once the redirect is complete, the spinners will be removed as the `spinnerQueue` and `btnSpinner` have been preserved.
@zipper zipper merged commit 23a11c2 into master Aug 20, 2024
1 check passed
@zipper zipper deleted the spinners-and-redirect branch August 20, 2024 10:39
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

Successfully merging this pull request may close these issues.

1 participant