Skip to content

Conversation

@Amarta113
Copy link

@Amarta113 Amarta113 commented Feb 10, 2026

Brief Title

This PR removes defaultEmoji and defaultCaption from previewConfig to prevent a specific emoji from being displayed in the preview area when the emoji picker opens without any user interaction.

With these defaults removed, the preview no longer shows a predefined emoji on initial render. Instead, the picker falls back to its internal placeholder/intro preview until the user hovers over or selects an emoji.
autoFocus is retained to preserve keyboard accessibility and match existing behavior.

This aligns the embedded emoji picker behavior with expected UX and avoids showing a misleading default emoji on initial render.

Acceptance Criteria fulfillment

  • Task 1
  • Task 2
  • Task 3

Fixes #1147

Video/Screenshots

emoji-picker-fix-pr.mp4

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-<pr_number> after approval. Contributors are requested to replace #1148 with the actual PR number.

@Amarta113
Copy link
Author

Hey @Spiral-Memory could you please take a look when you have time? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emoji preview renders defaultEmoji on initial open without hover

1 participant