-
Notifications
You must be signed in to change notification settings - Fork 85
💬 Feedback - Autocomplete #2512
Copy link
Copy link
Open
Labels
breaking changeUsed to mark when a proposal includes breaking changes, therefore it needs a plan for releaseUsed to mark when a proposal includes breaking changes, therefore it needs a plan for releasecomponent:autocompletestaleUsed to mark when there was no activity for a set period of timeUsed to mark when there was no activity for a set period of time
Metadata
Metadata
Assignees
Labels
breaking changeUsed to mark when a proposal includes breaking changes, therefore it needs a plan for releaseUsed to mark when a proposal includes breaking changes, therefore it needs a plan for releasecomponent:autocompletestaleUsed to mark when there was no activity for a set period of timeUsed to mark when there was no activity for a set period of time
Forma 36 component feedback
There is currently no way to defer/debounce updates to
itemsbecause their internal rendering is dependent oninputValue.Essentially, I was trying to improve performance of an
Autocompleteinput that has several thousand items by addinguseDeferredValuefrom React 18 to de-prioritise the dropdown updates over the input updating as a user is typing. However, after implementing this it was not giving the performance gains I was expecting. Doing some performance profiling, this seems to be becauseAutocompleteItemsis re-rendering every-timeinputValuechanges to include the highlighting for each item, meaning whatever I do the dropdown will always be re-rendered for everyinputValuechange.