Samuel Susla
c2b971d6d4
Set initial maximum surface size to viewport size
...
Summary:
Changelog: [internal]
There is a possibility of race between JavaScript sending "completeRoot" and maximum size set on surface. To prevent this race, we set the initial maximum size to be equal to the viewport size.
Alternative solution is to set maximumSize to {0, 0} initially instead of infinity. This is what old architecture does, even though not explicitly.
Reviewed By: fkgozali
Differential Revision: D30402207
fbshipit-source-id: 44427404eaf060a81de257797823edf971ffc1bb
2021-08-20 05:42:21 -07:00
..
2021-06-22 13:29:48 -07:00
2021-05-20 21:24:25 -07:00
2021-04-29 19:46:10 -07:00
2021-08-02 11:22:22 -07:00
2021-08-02 11:22:22 -07:00
2021-05-21 10:39:43 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-07-21 13:27:14 -07:00
2021-05-04 18:33:23 -07:00
2021-08-19 10:28:49 -07:00
2021-08-19 10:28:49 -07:00
2021-05-14 09:22:58 -07:00
2020-10-14 02:40:10 -07:00
2020-03-08 23:01:17 -07:00
2021-08-20 05:42:21 -07:00
2021-08-20 05:42:21 -07:00
2020-08-05 14:49:07 -07:00
2021-08-13 16:29:41 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2021-04-14 19:47:31 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-10-14 02:40:10 -07:00
2021-05-14 09:22:58 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-05-20 19:19:57 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-06-16 02:12:09 -07:00
2020-12-16 16:03:57 -08:00
2020-07-23 17:11:32 -07:00
2020-09-09 12:48:09 -07:00
2020-09-09 12:48:09 -07:00
2020-05-26 20:18:02 -07:00
2020-09-09 12:48:09 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-05-14 09:22:58 -07:00
2021-05-20 19:19:57 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-12-10 20:23:16 -08:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2021-07-29 17:26:02 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-10-30 14:05:11 -07:00
2020-10-30 14:05:11 -07:00
2020-03-08 23:01:17 -07:00
2020-03-08 23:01:17 -07:00
2019-11-18 16:17:09 -08:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2021-03-16 15:08:09 -07:00
2021-03-16 15:08:09 -07:00
2019-10-16 10:06:34 -07:00
2020-09-28 21:26:41 -07:00
2020-10-14 02:40:10 -07:00
2020-03-08 23:01:17 -07:00
2019-10-16 10:06:34 -07:00
2021-07-29 04:23:09 -07:00
2019-10-16 10:06:34 -07:00
2020-03-08 23:01:17 -07:00
2020-09-08 13:22:54 -07:00
2021-01-09 22:11:00 -08:00
2020-05-21 21:12:36 -07:00
2019-11-22 00:47:22 -08:00
2020-03-08 23:01:17 -07:00
2019-07-12 16:51:28 -07:00
2020-12-19 06:01:47 -08:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00