Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.7k
fix(android): race condition on offBackgroundColor view change detection#9922
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
fix(android): race condition on offBackgroundColor view change detection#9922
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@NathanWalker shouldn't this be handle on the property side ? isn't it already? don't think we want this test everywhere. the property setter handler seems like a better place to me |
@farfromrefug good question, it seems that because this function is reused several places, it's called outside the |
PR Checklist
What is the current behavior?
Various framework integrations, like Angular, may invoke view change detection cycles on property bindings at times when the
nativeView
is not available resulting in errors like:What is the new behavior?
Switch
is now resilient to this.