Skip to content

[Bug]: Remove delay before displaying results #734

@pereorga

Description

@pereorga

Bug description

When answering a question about tom-select performance in Stack Overflow, I noticed there is a delay when searching. When not loading the data from a remote resource, results start appearing half a second later, no matter how many options the element has.

Expected behavior

Ideally, results should display immediately after key press. In other solutions (Selectize.js, typeahead.js, etc.) results appear immediately

Steps to reproduce

  1. Go to https://tom-select.js.org/
  2. Click on the example
  3. Press "b"
  4. See results appear after a short delay, maybe 0.5 seconds

Additional context

  • OS: All
  • Browser: All
  • Version: latest
  • Device: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleNo activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions