Skip to content

typing in the search bar is really slow #3865

Open
@slonkazoid

Description

@slonkazoid

Please confirm the following.

What browsers are you seeing the problem on?

Firefox

Describe the bug

the search bar lacks event debouncing so typing in it will rapidly update page state which will slow down the browser on lower-powered devices such as mobile phones

Steps to reproduce

  1. Go to https://modrinth.com/mods
  2. Type

Expected behavior

onchange events should trigger a short timer to wait and see if the user types another character, which would reset the timer. or at least a setInterval(() => {}, 50) or something

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwebRelates to Modrinth.com web frontend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions