Android: search field loses focus if you clear the input via the "x" button

Open Beginner friendly
#2,364 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
android, javascript
Domain
frontend, mobile

Research direction

Start by running the Android app and reproducing the issue in the “Search bookmarks” field with the clear “x” button. Locate the search field and its clear-button behavior, then verify that clearing the input returns to the home screen while keeping the field focused and allowing immediate typing.

Written by the indexing model from the issue text.

Description

bug
Which version of floccus are you using?

v5.10.3

How many bookmarks do you have, roughly?

2k

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

Nextcloud Bookmarks

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

GrapheneOS (Android 17), Google Pixel 6

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

The search field loses focus if you clear the search field's input by clicking the little "x" button at the right end of the input field.

The app displays the "home" screen again, but the input field is not focused anymore. If I want to make a new search I have to click into the search field again.

Expected Behavior

Search field should remain focused.

To Reproduce
  1. enter a search term in the "Search bookmarks" input field at the top.
  2. click the little "x" button at the right end of the input field to clear the input
Debug log provided
  • I have provided a debug log file
Dominant language
JavaScript
Stars
8.5k
Forks
327
Avg merge
2d 19h
Merged PRs (30d)
3

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.

More from floccusaddon/floccus

All issues in floccusaddon/floccus

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.