Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-input component is not optimized. #13100

Open
SergeyPunko opened this issue Mar 9, 2025 · 1 comment
Open

multi-input component is not optimized. #13100

SergeyPunko opened this issue Mar 9, 2025 · 1 comment

Comments

@SergeyPunko
Copy link

Image

https://github.com/SAP/fundamental-ngx/blob/main/libs/core/multi-input/multi-input.component.html#L70

This implementation is not optimized, considering that there may be a large list of selected items. In our application, this component allows selecting a large number of items. As soon as we try to render such a component, rendering takes a significant amount of time because the component renders each item individually. My suggestion is to implement virtual scrolling for this element. This way, we can eliminate performance problems.

@droshev
Copy link
Contributor

droshev commented Mar 10, 2025

@SergeyPunko Can you share more context of your use-case(s)? What is a typical scenario? Can/n't the user enter free texts or not? what is the avarage list if tokens added/selected? What is the maximun, etc...
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants