You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be fixed by #12382. I patched my node_modules to set the props in NgZone, similar to how I did in that PR and couldn't reproduce the issue any more.
I couldn't reproduce it in chrome. Your second screenshot looks like you are using Firefox, so I tried it and was able to reproduce the issue.
The ion-spinner implementation is doing a few unique things with how they write components, so I didn't try to track down what exactly is causing the problem. My assumption is that they are registering some events that rely on NgZone to trigger change detection. Maybe Chrome is completing the event before the current change detection tick completes and Firefox is completing it after the current tick. It is only a guess though. Currently inputs changed by a control are not set inside NgZone, so an events registered as a result would also not be hooked by NgZone, unless it is manually entered.
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Describe the bug
A simple component with an
*ngIf
has unexpected behaviour. You can reproduce the issue from this project.Lets say I create a wrapper over ionic button component.
The issue is with
isLoading
control. The component should display one spinner, but instead, it shows two for some reason.To Reproduce
Playaround with
isLoading
control of ion-button-wrapper of this projectExpected behavior
There should be a single spinner spinning in the button.
Screenshots
The text was updated successfully, but these errors were encountered: