Emoji-Copy icon indicating copy to clipboard operation
Emoji-Copy copied to clipboard

Pressing left arrow collapses list of emojis

Open mbudde opened this issue 1 year ago • 3 comments

Bug Report

Current Behavior Pressing (left arrow key) when focus is in the grid of emojis in a category (e.g. 'Food & Drink') causes the box to collapse. This makes it pretty much impossible to select an emoji using the keyboard only.

Reproduction steps:

  • Open emoji selector
  • Enter (select category)
  • four times to move focus to category box

Expected behavior/code I would expect that pressing (left arrow key) would move focus to the emoji to the left like how moves focus to the right.

Environment

  • emoji-copy version(s): 16.0
  • OS: Arch Linux

Additional context/Screenshots Screenshot from 2024-03-11 10-18-31 Screenshot from 2024-03-11 10-23-44

mbudde avatar Mar 11 '24 09:03 mbudde

Hello @mbudde! Nice catch! :100: It seems this really is a bug :space_invader:

Maybe there is some setting we missed on this component that is allowing it to collapse. We shall take a look at the code, and find what is causing this!

Thank you so much for your report!
Also, if you want, feel free to explore the code and try finding ways to solve this bug! :100:

FelipeFTN avatar Mar 11 '24 14:03 FelipeFTN

It looks like the issue comes from this piece of code: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/881ec91370aab0b86f05845edc689534f9ba1ad6/js/ui/popupMenu.js#L1174-1178

I'm not sure how to prevent that from running. It might need to be fixed upstream.

mbudde avatar Mar 15 '24 08:03 mbudde