ealush / emoji-picker-react

The most popular React Emoji Picker
https://ealush.com/emoji-picker-react/
MIT License
1.09k stars 177 forks source link

The active or focus state does not correct when use select index + 1 #414

Open nuttikung opened 6 months ago

nuttikung commented 6 months ago

Hi, Emoji Picker team

I just found out an issue between 4.8.0 and 4.9.3

For 4.9.3 the active/focus state does not following when use click next emoji group


Steps to reproduce

1.Click History Icon 2.Click Smile Group Icon 3.Click Animal(Cat) Icon

Actual Behavior The Smile Group Icon is active/focus state (Highlight) as the screenshots below

Expected Behavior
The Animal Icon should be active/focus state (Highlight)

sandbox link : https://codesandbox.io/p/sandbox/emoji-picker-4-9-3-vygl9m


emoji-picker

Screenshot 2567-05-21 at 22 53 02

react version: 18.3.1 emoji picker version: 4.9.3

nazar-si commented 2 months ago

Same issue on react version 18.3.0 emoji picker version 4.12.0