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: dismiss function returned from useIonLoading hook is not working on 5.8.2 #24030

Closed
4 of 6 tasks
rabianr opened this issue Oct 7, 2021 · 3 comments
Closed
4 of 6 tasks
Labels
package: react @ionic/react package type: bug a confirmed bug report
Milestone

Comments

@rabianr
Copy link

rabianr commented Oct 7, 2021

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

The dismiss function returned from useIonLoading hook is not working.
On 5.8.1 the dismiss function is working as expected.

Expected Behavior

The loading should be dismissed when calling dismiss function

Steps to Reproduce

  • Use useIonLoading hook
  • Call present then call dismiss in a setTimeout block

Code Reproduction URL

https://codesandbox.io/s/ecstatic-germain-7czxq

Ionic Info

Ionic Framework : @ionic/react 5.8.2

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Oct 7, 2021
@liamdebeasi liamdebeasi added package: react @ionic/react package type: bug a confirmed bug report labels Oct 7, 2021
@liamdebeasi liamdebeasi added this to the 5.8.3 milestone Oct 7, 2021
@ionitron-bot ionitron-bot bot removed the triage label Oct 7, 2021
@willmartian
Copy link
Contributor

@rabianr, thank you for reporting this issue. It has been resolved and will be available in the next patch.

@liamdebeasi
Copy link
Contributor

This was released in Ionic React 5.8.3. Thanks again!

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 6, 2021

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. 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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: react @ionic/react package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

3 participants