found a bug :slightly_smiling_face: <https://x.com...
# confetti
j
s
What is the bug here, the navigation bar?
j
Yeah, bookmarks text wrapping
y
This works remarkably well on Wear.
🚀 1
Nice to see French translations also
đŸ‡«đŸ‡· 3
s
Yeah, bookmarks text wrapping
tl;dr: When using the m3 component as-is I don’t think there is a way to actually handle this very well. So that’s just what the m3 nav component does with long texts. And in the m3 documentation their suggestion is literally just “pick smaller texts” and provide no customizability on the m3 component 😅 The doc link https://m3.material.io/components/navigation-bar/guidelines#720ad34e-fc0f-4413-8613-10dd2d530e58 I’ve also made a bug report about the spacing between the items being a bit more than what the specs are suggesting https://issuetracker.google.com/issues/330198163 Some prior discussion on this in ASG https://androidstudygroup.slack.com/archives/CE6KRLHEK/p1707469045575389 where the outcome has unfortunately been to simply cap the font size inside there for languages with longer text. I have done the same in our app here too after I had to copy the entire internal function from m3 of course, after also letting the texts go a bit “out of bounds” compared to the m3 spec.
👍 1