Skip to content

Limitation in auto completions list #2634

Answered by 4ian
Bouh asked this question in Archive
May 11, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This list is not virtualised, so without a maximum number, typing a single character like "a" could return a lot of results (200, more?) that would end up slowing down the rendering (basically, you would have a lag, especially visible on low end devices, because the browser has to handle these 200+ DOM nodes).
This means that while you type, you would get visible slow downs => not a great experience. In the future, things like "concurrent rendering" in React could solve this (allowing you to continue typing, and React will stop rendering if it's too long).
We could also virtualise the results, like in the object list or in the search results of the asset store/extensions.

EDIT: we could a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tristanbob
Comment options

Answer selected by Bouh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants