Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TopAppBar] Correctly set letter spacing when expanding titles
We recreated title text layout when expanding from the collapsed state but didn't correctly set the letter spacing to the expanded one. The letter spacing being used will be a interpolated value between collapsed and expanded letter spacing (close to the collapsed one due to the implementation). This will cause the text layout incorrectly calculate the line count from the wrong letter spacing and result in a broken layout. Correctly sets the letter spacing to fix the issue. Resolves #2463 PiperOrigin-RevId: 408910555
- Loading branch information