spent today added keyboard visibility to damus android.

The basic idea is: whenever a keyboard pops over the screen, if it intersects with any input box that is focused, then it will push the screen upward. took a few days to get it right, but I'm happy with the result.

I know, not terribly exciting, but its these little things that make apps usable.

https://jb55.com/s/keyboard-visibility-android.mp4

Reply to this note

Please Login to reply.

Discussion

Ooooo

SATOSHI LOTTERY - FIRST DRAW!

Starting on 21st August. Every week. Every thursday. Current Prize: 5000 sats. How to participate: Zap 500 sats -> Share this post and leave a comment below. Thatโ€™s it! You are in the game! Donโ€™t miss your chance to win and grow your stack! ๐Ÿ’ฐ๐Ÿค‘

Wait, there's a Damus for android?

yes it's in closed alpha, release info will be at an upcoming event ๐Ÿคซ

Ah, thank you. I'll wait for it to be on Zapstore.

such a nice touch ๐Ÿ‘

we had trouble onboarding users to amethyst because of this issue, they couldn't update their wallet url. ๐Ÿ˜…

crazy that even jetpack compose still doesn't get this right. not sure if you've run into this nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z

Jetpack compose does this automatically I believe. You can see it on our profile edit page. We didn't do anything to make it wokr there.

The issue on the New Post screen is on my dumb TextField that renders @names, domains, nip19, hashtags and so on.. as people type. And the change in text field size from that rendering interferes with the automatic behavior of jetpack compose. So I had to remove it while I figure out a solution for it. We will figure it out eventually. But for any basic app, this is all automatic.

yeah of course, just wondering if you ever saw it not working, since it was definitely not on the profile edit page for a few people when I was onboarding the crowd in Vancouver

The production version had a bug on the Android 15 edge-to-edge migration. But before that is worked at all times. All of these animations come out of the box on jetpack compose.

I literally have this bug on amethyst on the latest version since January on the profile edit screen

Yep, I forgot that we fixed it, but didnt release a version because we were already into the outbox migration. It's coming.