Hi I have implemented <accompanist> inset animatio...
# compose
r
Hi I have implemented accompanist inset animation. But when the keyboard is showing the textfields are staying under the keyboard. How can I run scroll animation synchronized with keyboard show animation?
All textFields laid out in a scrollable column
d
r
@Daniele Segato but I couldn’t find any solution in this thread. There is not any verticalScrollWithRelocation function in the example
d
I've posted a workaround in that thread and it works for me
r
@Daniele Segato What parameter value you gave for activity windowSoftInputMode attribute?
adjustResize
?
And did you use accompanist insets library?
d
yes and yes
r
Can you share a gist snipper?
d
it's the one in the thread I linked, not sure what snipped you want 😄
r
Where I can see all code including accompanist insets implementation with column
d
That would be too much code to share. And it also not all in the same place of my App.
There's nothing particular about the column, it just have a Modifier verticalScroll and insets are used as per documentation
what's your compose version?
r
jetbrains compose alpha 02
d
1.1.0 alpha 02?
d
why are you using the alpha when the stable 1.0.0 is out??
r
it’s multiplatform version
d
oh, my question was about Android. I know nothing of that API in desktop