-
Notifications
You must be signed in to change notification settings - Fork 43
Description
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: