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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I use ng-class to load specific css styles based on a scope variable.
The problem is, under iOS $digest or $apply of these changes, done in a controller, aren't sometimes called until the user interacts with the view (scrolling or something). Sometimes it works, but sometimes the UI-State gets stucked.
Under Android the $digest or $apply are directly called when the variable changes. Everything works fine!
Is this is a known bug under iOS? How can I fix that really annoying problem? I'm aware that this is probably a problem with iOS itself, not with AngularJS. But I don't know how to fix that.
The only solution for me is to trigger an UI event to trigger $digest or $apply.
I also tried to call $digest or $apply manually, but this isn't solving the problem. Often the current UI state get stucked until I scroll the page down or up or rotate the phone. Reaaally annoying!
Can somebody help me with that? Any help is appreciated!
The text was updated successfully, but these errors were encountered:
Hi,
I've a weird problem:
I use ng-class to load specific css styles based on a scope variable.
The problem is, under iOS $digest or $apply of these changes, done in a controller, aren't sometimes called until the user interacts with the view (scrolling or something). Sometimes it works, but sometimes the UI-State gets stucked.
Under Android the $digest or $apply are directly called when the variable changes. Everything works fine!
Is this is a known bug under iOS? How can I fix that really annoying problem? I'm aware that this is probably a problem with iOS itself, not with AngularJS. But I don't know how to fix that.
The only solution for me is to trigger an UI event to trigger $digest or $apply.
I also tried to call $digest or $apply manually, but this isn't solving the problem. Often the current UI state get stucked until I scroll the page down or up or rotate the phone. Reaaally annoying!
Can somebody help me with that? Any help is appreciated!
The text was updated successfully, but these errors were encountered: