Skip to content

use timer to improve the ivy-read performance #1218

@redguardtoo

Description

@redguardtoo

This trick is used frequently in javascript search box.

When user input characters, don't update the collection display immediately. Cache the user input until user has not input any new characters say for 1 second.

After one second, we continue the UI update.

Could you at least make a option for ivy-read like :seconds-wait-for-user-input. Its default value is zero which means updating UI immediately. But if it's more than zero, UI will wait to make sure the user finish the input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSuggestion to improve or extend existing behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions