Stale flex basis value used with cached values #1161

Open
rozele wants to merge 4 commits from rozele/export-D39929963 into main

4 Commits

Author SHA1 Message Date
Nick Gerleman
876425a2ee Merge branch 'main' into export-D39929963 2023-01-16 13:11:51 -08:00
Nick Gerleman
5df80555f9 Merge branch 'main' into export-D39929963 2023-01-16 08:03:32 -08:00
Nick Gerleman
8a33dd5750 Merge branch 'main' into export-D39929963 2022-12-29 10:20:44 -08:00
Eric Rozell
0a323a8ce1 Stale flex basis value used with cached values
Summary:
We're occasionally seeing text truncation occur on Windows. It appears to occur when a cached main axis value is supplied to the flex basis computation for children, resulting in a stale flex basis value getting used.

This diff just contributes a unit test that reliably reproduces this case.

Differential Revision: D39929963

fbshipit-source-id: 5bae1de3f1498dbc45e42a76184d4269e01a12da
2022-09-29 09:15:21 -07:00