algolia / algolia/docsearch

When typing Japanese, pressing the Enter key to confirm completion selects the document.

Open
#1,304 7 comments 3 reactions 0 assignees View on GitHub
Autocomplete
Dominant language
TypeScript
Stars
4.4k
Forks
439
Avg merge
14h 32m
Merged PRs (30d)
19

Description

## Description

Pressing Enter when the text input is not finalized will take you to the document.

## Steps to reproduce

1. Type Japanese using Google Japanese Input.
2. Press the Enter key to confirm your input.
3. redirect to the document.

**Live reproduction:**
- https://jestjs.io/ja/

![Untitled](https://user-images.githubusercontent.com/248093/154092258-026859a1-e458-4a8f-a37f-c8f1bd96c157.gif)

## Expected behavior
1. Input Japanese using Google Japanese Input.
2. Press the Enter key to confirm your input.
3. The input is confirmed.

## Environment
- OS: macOS 11.6.2
- Browser: Google Chrome
- DocSearch version: 3.0.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue at https://jestjs.io/ja/ with Google Japanese Input in Chrome on macOS, then trace the DocSearch search input's Enter-key handling during Japanese composition. Done means confirming Japanese input with Enter no longer redirects to the selected document, while ordinary search selection still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, typescript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.