Skip to content

Filtered input suggestion list is overwritten shortly after app startup #987

Description

@addap

I sometimes run into the following issue (see also attached video):

screen-20260629-192716-1782728820810.2.mp4

I open the app, go to the new entry view, start typing and try to click on the top suggestion. But in that moment the suggestion list is updated and is not filtered by my input anymore so the wrong item is added.

I suspect it's because on startup the app asynchronously fetches the current product list, and on completion it replaces the current suggestion list without filtering by the text input.
Normally the fetch happens very fast before one can start typing but currently my connection to my self hosted grocy instance is very slow so it becomes noticeable.

I'll check if I can fix it by reapplying the filter when the fetch completes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions