ealush / emoji-picker-react

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

Bug of draggable emojii #442

Open Stanislava98 opened 1 month ago

Stanislava98 commented 1 month ago

I am reaching out with an issue I encountered while using the emoji-picker-react library. I noticed that some emojis cannot be selected after they have been dragged within the picker. When trying to reselect these emojis after dragging, they do not trigger the expected callback function.

This issue makes emoji selection difficult and negatively impacts the user experience.

ealush commented 1 month ago

Hi Stanislava,

Thank you for reporting this issue. I just tried it myself, and I did not experience such behavior. Can you elaborate on the reproduction steps, OS, and browser?

Furthermore, the picker does not have a drag/drop capability, so I am not completely certain what that means.

Thanks, Evyatar a

On Fri, Oct 4, 2024 at 9:49 AM Stanislava Atamaniuk < @.***> wrote:

I am reaching out with an issue I encountered while using the emoji-picker-react library. I noticed that some emojis cannot be selected after they have been dragged within the picker. When trying to reselect these emojis after dragging, they do not trigger the expected callback function.

This issue makes emoji selection difficult and negatively impacts the user experience.

— Reply to this email directly, view it on GitHub https://github.com/ealush/emoji-picker-react/issues/442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV32PZOBMZZXT7RKGJ3D3DZZ2MFJAVCNFSM6AAAAABPL5YBTWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DMNBSGU2TEMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Stanislava98 commented 1 month ago

Yes, when opening the emoji popover, you need to click on one of the icons, hold it down, and start dragging without releasing the mouse button. In this case, you will see that the emoji image moves along with the cursor. This effect occurs specifically when holding the mouse button on the emoji during the drag.

This reproduces in Firefox. I haven't tested this case in other browsers.