Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect Height in Text components
Summary: This diff fixes a bug in the calculation of layout for text components The rootcause of the bug is that fabric is not taking into consideration height constraints as part of the cache for text measurments. The title text was being measured with a specific height constraint (22px) at the begining of the render, later there was a re-measure for the same Text component with a different height constraint, but fabric was reusing the result of the first calculation instead of re-measuring the text. changelog: [internal] internal Reviewed By: JoshuaGross Differential Revision: D26676716 fbshipit-source-id: 3e769e0ca35b3e363b96d3a6d1626a091eaad908
- Loading branch information