nightkr / flickboard

Flicking keyboard for Android
GNU Affero General Public License v3.0
124 stars 25 forks source link

Emoji list does not scroll properly on Android 11 #165

Open aalong opened 6 months ago

aalong commented 6 months ago

Context

On a Motorola Edge (android version 11), scrolling down each of the emoji list gets "stuck" after some number of rows, resetting position rapidly as you try to scroll past that point. This occurs across each of the emoji tabs after trying to scroll past the 18th row of a given tab- the 19th row will start to come into view before the scroll snaps it back out of view.

Steps to reproduce

Expected behavior

The remaining row(s) of the emoji section should be displayed

Actual behavior

Scroll to the remaining row(s) is prevented

Android version

11

Device

Motorola Edge

Other details

https://github.com/nightkr/flickboard/assets/1854890/3804def9-7d99-44dd-8dc0-e864995673fb

Acknowledgements

nightkr commented 6 months ago

Hm, I'm testing it on an Android 11 emulator now and can reproduce the missing emojis but not the broken scrolling. :/

Sadly I don't own a Motorola device to test with.

aalong commented 6 months ago

I can probably play with it a bit over the weekend- I assume some debug logging in https://github.com/nightkr/flickboard/blob/main/app/src/main/java/se/nullable/flickboard/ui/emoji/EmojiKeyboard.kt would be the place to start?

nightkr commented 6 months ago

Could be, yeah.. I suspect that the bug is somewhere in Compose's LazyGrid.. :/