zhanghai / zhanghai/MaterialFiles

Collapse keyboard button cancelling search

Open
#1,414 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

What Should Happen

It should only collapse the keyboard, leaving the search on screen, unobstructed by the keyboard overlay

What Happens

Tapping the Collapse Keyboard button (down arrow) also triggers the Back action, clearing the active search/filter

https://github.com/user-attachments/assets/a1e05eb6-48ee-49fa-bebf-db18584b2b90

Additional Information
  • Device: Samsung A54 5G (Stock)
  • Android Version: 14
  • Launcher: One UI 6.1
  • Happens with both Samsung Keyboard and GBoard
  • Happens with both Navigation modes (Gesture and 3-Button)
  • Noticed it after updating Material Files from v1.6.2 (shown below on a A13 device) to v1.7.4

https://github.com/user-attachments/assets/755dffde-81e5-4518-bf5d-0be59616c6c4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Reproduce the issue on Android using the search/filter UI and inspect the keyboard-collapse and Back-action handling; done when collapsing the keyboard leaves the active search and filter visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.