Skip to content

Conversation

@shevnv
Copy link
Contributor

@shevnv shevnv commented Dec 24, 2025

Summary

  • Fixed issue where pressing Enter after typing :) didn't create a new line
  • When autocomplete is open but no emoji matches the filter, Enter key was being consumed by the autocomplete handler
  • Reduced CHARS_TO_HIDE from 4 to 1 to close autocomplete immediately when no results match

Test plan

  • Type :) at the end of a line and press Enter - should create a new line
  • Type :sm and press Enter - should insert the first matching emoji
  • Unit tests added for onEnter behavior

This PR is created by Claude Code.
I choose to reduce CHARS_TO_HIDE from 4 to 1 and don't change the function needToHide.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

@gravity-ui
Copy link

gravity-ui bot commented Jan 14, 2026

Storybook Deployed

@gravity-ui
Copy link

gravity-ui bot commented Jan 14, 2026

🎭 Playwright Report

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.

4 participants