Skip to content

Weird behaviours in the properties filter with filtering with a search text #479

@NicolasMahe

Description

@NicolasMahe

I notice two weird behaviours in the properties filter with filtering with a search text

Blinking behaviour in properties filter with search text

When I search for a property using the search input, and select a property, there is a weird blinking behaviour:

Screen.Recording.2023-11-21.at.09.39.48.mov

For info, before PR #477, after selecting a property, the search input filter was not applied anymore, so PR #477 already improve this. You can test using https://nft-test-uaan-9hu4d9j0h-liteflow.vercel.app/explore.

It seems the variable propertySearch is reset to undefined quickly after selecting a property, and then filled back to its previous value. I notice this is not always the case, sometime, propertySearch stays undefined.

Filtered properties are not always selected

When I put a search text, then select a property, and then change the search text, it some times "unselect" the property. Putting back the same search text when I selected the property, re-select the property, but some time it works fine:

Screen.Recording.2023-11-21.at.09.52.02.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions