emoji-picker-react icon indicating copy to clipboard operation
emoji-picker-react copied to clipboard

hiddenEmojis not working for "Frequently used"

Open mbrammer opened this issue 1 year ago • 2 comments

When adding an emoji to the hiddenEmojis array (for example "26d4" ⛔), it will be removed from the emoji list, but will still be shown in frequently used (maybe also in recent - didn't test that).

image image

mbrammer avatar Nov 27 '24 12:11 mbrammer

This is not an issue. It shows in the frequently used list because it was used before as it is already in local storage. Assuming a user was exposed to the picker from now on, it will never show for them .

On Wed, 27 Nov 2024 at 14:15 Mischa Brammer @.***> wrote:

When adding an emoji to the hiddenEmojis array (for example "26d4" ⛔), it will be removed from the emoji list, but will still be shown in frequently used (maybe also in recent - didn't test that).

image.png (view on web) https://github.com/user-attachments/assets/b66d9f10-e770-4441-a82d-43180a450036 image.png (view on web) https://github.com/user-attachments/assets/37d38079-918e-4460-a66f-9f2c2a2427e4

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

ealush avatar Nov 27 '24 12:11 ealush

But why not hiding them? When people need to hide emojis later on for any reason, users would still be able to select emojis that should not be used. From my perspective, this is an issue.

mbrammer avatar Nov 27 '24 12:11 mbrammer

Is there any solution for this? I think what @mbrammer is saying, when hiding an emoji from the list, it should also hide from the frequently used emojis.

stephenprogramscoffee avatar Jul 09 '25 04:07 stephenprogramscoffee

You explained why it appears but it is stil an issue. If I am hiding it should not appear in frequently used @ealush

Vanals avatar Jul 11 '25 19:07 Vanals

I think all of you are right. I published 4.12.4 which removes all of these from the suggested (both frequent and recent) list as well. Closing this one now.

On Fri, Jul 11, 2025 at 10:12 PM Marco Vanali @.***> wrote:

Vanals left a comment (ealush/emoji-picker-react#445) https://github.com/ealush/emoji-picker-react/issues/445#issuecomment-3063442630

You explained why it appears but it is stil an issue. If I am hiding it should not appear in frequently used @ealush https://github.com/ealush

— Reply to this email directly, view it on GitHub https://github.com/ealush/emoji-picker-react/issues/445#issuecomment-3063442630, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV32PZDQN5SGPRSNSQG2OL3IAEA5AVCNFSM6AAAAABSSWQYA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANRTGQ2DENRTGA . You are receiving this because you were mentioned.Message ID: @.***>

ealush avatar Jul 12 '25 20:07 ealush

@Vanals @stephenprogramscoffee @mbrammer

ealush avatar Jul 12 '25 20:07 ealush