Skip to content

Search doesn't detect Enter key / Search is not instant #17

@Simon-Laux

Description

@Simon-Laux

I expect searching to accept the Enter key to search.

Alternatively it would make sense to not have the search button, but instead searching instantly. If that hurts performance there are some ways to fix the possible performance impact:

  • listen for onChange, not on every keypress
  • debounce the search call (there are libraries for debouncing on npm)
  • use a virtual list to only render items that are on screen: https://react-window.vercel.app/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions