Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji list does not scroll properly on Android 11 #165

Open
3 tasks done
aalong opened this issue Apr 29, 2024 · 3 comments
Open
3 tasks done

Emoji list does not scroll properly on Android 11 #165

aalong opened this issue Apr 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@aalong
Copy link
Contributor

aalong commented Apr 29, 2024

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

vertical-scroll-flickboard-emoji.mp4

Acknowledgements

  • I have written a short but informative title.
  • I have searched the existing issues and this is a new one, NOT a duplicate or related to another open issue.
  • I have filled out all of the requested information in this form.
@aalong aalong added the bug Something isn't working label Apr 29, 2024
@nightkr
Copy link
Owner

nightkr commented Apr 29, 2024

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 added a commit that referenced this issue Apr 29, 2024
@aalong
Copy link
Contributor Author

aalong commented May 1, 2024

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
Copy link
Owner

nightkr commented May 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants