Eric Vicenti
65513e501a
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 https://github.com/facebook/react-native/pull/12073
Differential Revision: D4468989
Pulled By: ericvicenti
fbshipit-source-id: 7926c887035722c983c41cb6b6d9df567010c2ee
2017-01-26 09:43:32 -08:00
..
2016-06-27 17:13:27 -07:00
2016-06-27 17:13:27 -07:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2015-06-25 09:17:01 -08:00
2015-09-04 07:00:21 -08:00
2016-11-23 07:58:39 -08:00
2016-01-07 12:03:17 -08:00
2015-12-01 09:00:28 -08:00
2016-08-10 13:13:34 -07:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2015-06-25 09:15:21 -08:00
2016-11-23 07:58:39 -08:00
2016-01-04 06:38:30 -08:00
2015-09-02 06:11:24 -08:00
2015-09-02 06:11:24 -08:00
2016-11-23 07:58:39 -08:00
2016-04-26 04:21:39 -07:00
2016-11-23 07:58:39 -08:00
2016-11-07 17:14:02 -08:00
2016-11-23 07:58:39 -08:00
2016-07-07 12:44:14 -07:00
2016-07-12 05:59:12 -07:00
2015-11-26 08:54:16 -08:00
2016-11-23 07:58:39 -08:00
2017-01-09 19:28:27 -08:00
2015-11-26 08:54:16 -08:00
2015-11-26 08:54:16 -08:00
2016-11-23 07:58:39 -08:00
2017-01-09 00:13:33 -08:00
2016-09-27 06:28:33 -07:00
2016-10-05 07:28:44 -07:00
2016-11-23 07:58:39 -08:00
2017-01-09 00:13:33 -08:00
2016-11-23 07:58:39 -08:00
2016-11-18 14:43:31 -08:00
2016-11-23 07:58:39 -08:00
2016-05-06 03:18:20 -07:00
2016-11-23 07:58:39 -08:00
2016-09-08 17:58:50 -07:00
2016-11-23 07:58:39 -08:00
2016-09-08 17:58:50 -07:00
2016-11-23 07:58:39 -08:00
2016-12-03 18:58:29 -08:00
2016-11-23 07:58:39 -08:00
2016-08-05 12:44:21 -07:00
2015-03-26 02:42:24 -08:00
2016-11-23 07:58:39 -08:00
2016-09-27 06:28:33 -07:00
2016-11-23 07:58:39 -08:00
2016-11-07 15:58:43 -08:00
2016-11-23 07:58:39 -08:00
2016-04-16 15:15:25 -07:00
2016-11-23 07:58:39 -08:00
2016-12-03 04:44:10 -08:00
2016-07-11 13:34:02 -07:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2017-01-09 19:28:27 -08:00
2016-11-23 07:58:39 -08:00
2015-11-03 14:49:30 -08:00
2016-11-23 07:58:39 -08:00
2016-04-26 04:21:39 -07:00
2017-01-11 03:58:37 -08:00
2017-01-11 03:58:37 -08:00
2016-11-23 07:58:39 -08:00
2015-12-21 10:30:39 -08:00
2016-11-23 07:58:39 -08:00
2015-12-21 10:30:39 -08:00
2016-11-23 07:58:39 -08:00
2015-03-26 02:42:24 -08:00
2016-11-23 07:58:39 -08:00
2015-09-02 06:11:24 -08:00
2016-05-03 05:40:29 -07:00
2016-12-19 06:28:40 -08:00
2016-11-23 07:58:39 -08:00
2016-12-21 03:28:28 -08:00
2016-11-23 07:58:39 -08:00
2016-12-19 06:28:40 -08:00
2016-11-23 07:58:39 -08:00
2016-11-29 12:28:55 -08:00
2015-07-07 06:15:20 -08:00
2016-12-19 06:28:40 -08:00
2017-01-26 09:43:32 -08:00
2016-11-23 07:58:39 -08:00
2017-01-25 12:28:50 -08:00
2015-03-26 02:42:24 -08:00
2016-11-23 07:58:39 -08:00
2017-01-11 03:58:37 -08:00
2017-01-06 20:29:02 -08:00
2017-01-06 20:29:02 -08:00
2016-11-23 07:58:39 -08:00
2017-01-06 20:29:02 -08:00
2016-11-23 07:58:39 -08:00
2016-09-27 06:28:33 -07:00
2016-11-18 14:43:31 -08:00
2016-11-23 07:58:39 -08:00
2016-11-18 14:43:31 -08:00