<@U010V66NVRC> Now that Compose 1.8 is in the work...
# compose-android
s
@Halil Ozercan Now that Compose 1.8 is in the works, is
contentPadding
for
BasicTextField
(and eventually material `TextField`s) planned for it? I absolutely love the new APIs but that's the remaining deal-breaker for me right now. Currently I have to wrap the
innerTextField
in a
Box
with
verticalScroll
Modifier to achieve this, but it has a few issues: 1. The native
scrollState
parameter becomes totally useless (because
verticalScroll
lays the inner text field with infinite height; nothing to scroll!) 2. If there's any current or future optimizations to only render what's visible on the screen, that (probably) breaks them. 3. It's just... doesn't feel right! We have
contnetPadding
for lazy containers for the exact same use-case, feels like a good place to do the same. This is super useful to apply padding to scrollable text fields without clipping the content. By extension, the material versions could also use this instead, and we'll get the same nice behavior by default there too.