Skip to content

Cursor jumps to end of input when inputValue is changed when using DataSearch #394

Closed
@Arvind6353

Description

@Arvind6353

Hi ,
I am using Datasearch Component .
Whenever I try to modify the search value (lets say change the middle character) , the cursor position is going to the end of the input . I guess its rerendering every time .

Pls suggest a fix .

I tried the demo sandbox example for datasearch and I face the same issue there .

<DataSearch componentId="searchbox" dataField={["title"]} fieldWeights={[3]} placeholder="Search" autosuggest={false} highlight={true} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugweb 🕸️Issues related to Web version of library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions