Please sign in to comment.
Bug fix for nil TVView on pop
Summary: Explain the **motivation** for making this change. What existing problem does the pull request solve? This change is required when you try to set a focus on a view that doesn't exist and thus cannot be focused. In my specific use case, this occurred when trying to set a focus on a list item in a setInterval when the View (with the specific list item) had been popped. The while loop ran infinitely (eventually freezing the app) since the rootView doesn't exist. This adds that check and breaks out if so. All obj-c tests ran successfully. dlowder-salesforce Closes #12073 Differential Revision: D4468989 Pulled By: ericvicenti fbshipit-source-id: 7926c887035722c983c41cb6b6d9df567010c2ee
- Loading branch information...