Skip to content

Search bar text not updating properly #787

Open
@enderjbr

Description

@enderjbr

There is an issue with the text in a SearchBar component when doing a remote search.
If you type a string too quickly, the text in the search bar won't update properly and will delete some of the characters you type. You can also see the issue when trying to delete, as sometimes the characters you have deleted will come back.
You can reproduce this issue with the search here: https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Remote&selectedStory=Remote%20Search&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

Type any string quickly to see the issue. It doesn't happen as often when typing a string, but it is more obvious when deleting the string.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions