Skip to content

4174: Hide the keyboard after submit search#4180

Open
bahaaTuffaha wants to merge 1 commit into
mainfrom
4174-Hide-keyboard-after-submitting-a-search
Open

4174: Hide the keyboard after submit search#4180
bahaaTuffaha wants to merge 1 commit into
mainfrom
4174-Hide-keyboard-after-submitting-a-search

Conversation

@bahaaTuffaha

@bahaaTuffaha bahaaTuffaha commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Short Description

During user testing on Android devices, users expected the on-screen keyboard to close automatically after submitting a search query.

Proposed Changes

  • Used onKeyDown prop with if statement to check if the user pressed 'enter' to .blur() the focus so the keyboard hides.

Side Effects

N/A

Checklist

Testing

  • Launch the web app + run an android emulator to test it.
  • Test any search input by typing something then hit enter on the keyboard.
  • Note if the this error appeared : globalThis.crypto.randomUUID is not a function just add ?. after crypto at chat.ts (this issue happens on emulated devices only).
  • For iOS you can enable the physical keyboard from I/O -> keyboard -> toggle software keyboard (at the simulator).

Resolved Issues

Fixes: #4174


@bahaaTuffaha bahaaTuffaha added the Web Affects the web project label Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Web Affects the web project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search results remain hidden behind the keyboard after submitting a search on Android

1 participant