Anyone ever have this issue with bouncing text in ...
# compose
b
Anyone ever have this issue with bouncing text in a
TextField
? I can resolve it with
singleLine = true
, but it still chops off the bottom of the sub-baseline letters. This is in a
TopAppBar
in a Scaffold. Thought this might be due to a size constraint on
TopAppBar
? Or maybe just the
topAppBar
content parameter in
Scaffold
? Not sure if there's any weird trickiness with
TextField
itself.
Fixed it with
Copy code
textStyle = TextStyle(color = MaterialTheme.colors.onSurface)
but it looks like it's only "fixed" because the text is small enough to fit now. Looks like `Scaffold`'s
topAppBar
doesn't let you exceed a certain size.
s
The up down move at ever g/h looks very weird
b
Yeah, it's a bummer. But making the text smaller, or if you can, making the TextField bigger, fixes it.