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

bug: Ionic 7+ Angular LoadingController with Http Interceptor Loader Present and Dismiss issue #29207

Closed
3 tasks done
MedOussemaNjimi opened this issue Mar 24, 2024 · 2 comments
Assignees
Labels
needs: reply the issue needs a response from the user

Comments

@MedOussemaNjimi
Copy link

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

Issue Description:

I'm encountering an issue with the LoadingController in Ionic 7 when used in conjunction with an HttpInterceptor. The LoadingController is not being presented or dismissed correctly in certain scenarios.

Steps to Reproduce:

With this logic in interceptor and with 2 call Api you will see the error that the loading dose't dismiss correctly

Expected Behavior

The loading spinner should be dismissed when the HTTP request completes or encounters an error.

Steps to Reproduce

try to integrate my Interceptor in your code

Code Reproduction URL

https://gitlab.com/oussemanjimi93/clubi-mobile

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/Users/mohamedoussemanjimi/.nvm/versions/node/v21.0.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.5.0
@angular-devkit/build-angular : 16.2.6
@angular-devkit/schematics : 16.2.6
@angular/cli : 16.2.6
@ionic/angular-toolkit : 9.0.0

Capacitor:

Capacitor CLI : 5.6.0
@capacitor/android : 5.6.0
@capacitor/core : 5.6.0
@capacitor/ios : 5.5.0

Utility:

cordova-res : 0.15.4
native-run : 2.0.1

System:

NodeJS : v21.0.0 (/Users/mohamedoussemanjimi/.nvm/versions/node/v21.0.0/bin/node)
npm : 10.2.5
OS : macOS Unknown

Additional Information

No response

@liamdebeasi
Copy link
Contributor

liamdebeasi commented Mar 25, 2024

I'm not able to access your repo. Can you ensure it is public?

@liamdebeasi liamdebeasi added the needs: reply the issue needs a response from the user label Mar 25, 2024
@ionitron-bot ionitron-bot bot removed the triage label Mar 25, 2024
Copy link

ionitron-bot bot commented Apr 8, 2024

Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Thank you for using Ionic!

@ionitron-bot ionitron-bot bot closed this as completed Apr 8, 2024
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: reply the issue needs a response from the user
Projects
None yet
Development

No branches or pull requests

2 participants