flickboard icon indicating copy to clipboard operation
flickboard copied to clipboard

Emoji list does not scroll properly on Android 11

Open aalong opened this issue 1 year ago • 4 comments

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

  • On an Android 11 device, open the emoji keyboard
  • Select any emoji category (e.g. faces, animals, etc.)
  • scroll down from the first to the 18th row of the keyboard
  • attempt to continue scrolling down

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

  • [X] I have written a short but informative title.
  • [X] I have searched the existing issues and this is a new one, NOT a duplicate or related to another open issue.
  • [X] I have filled out all of the requested information in this form.

aalong avatar Apr 29 '24 02:04 aalong

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.

nightkr avatar Apr 29 '24 19:04 nightkr

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?

aalong avatar May 01 '24 02:05 aalong

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

nightkr avatar May 14 '24 18:05 nightkr

This issue has been migrated to Codeberg: see https://codeberg.org/natkr/flickboard/issues/165 for any further discussion!

nightkr avatar Dec 23 '24 01:12 nightkr