You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In preparation for #984, start drafting the selection component without any proper styling. Some things that should be considered:
It should be possible to provide a searchable list of hundreds of list items. Therefore, we should keep an eye out for the performance.
The items should only be rendered when the popover is opened
Is there a way to only render in the viewport currently displayed elements? (e.g. for Angular exists virtual scrolling, here's a native example which implementation seems very extensive)
Have a look at our autocomplete component
it's quite similar to the selection component besides the input being the host of the popover
the library we use in the autocomplete can probably be used in this one as well
are there any parts that we can share between the two components? How?
Ensure that things like accents are properly handled (e.g.: searching for Jan should also yield Jàn). Have a look at the native localeCompare string method and the sensibility option (also get in touch with me as I've implemented this case just recently)
Does a similar library already exist that we can use?
The text was updated successfully, but these errors were encountered:
In preparation for #984, start drafting the selection component without any proper styling. Some things that should be considered:
Jan
should also yieldJàn
). Have a look at the native localeCompare string method and thesensibility
option (also get in touch with me as I've implemented this case just recently)The text was updated successfully, but these errors were encountered: