-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Table of icons in create/update object form is not scrollable #6864
Comments
Closing in favor of #6105 |
Hey @BOHEUS @FelixMalfait, this issue should be reconsidered again. It's happening not because of If you want more clarification, please look at the screenshot. I increased the number of icons to 42. |
@harshrajeevsingh good point! But there are so many icons / I'm afraid it might be complex to build something nice here. They'd need to be lazy loaded to avoid perf issues. Unless they are already loaded.. @lucasbordeau what do you think, would that be complex? |
@FelixMalfait Yes, there are more than 4k icons. The performance issue can be fixed using a virtualization library like react-window, but the User Experience would be awful. We should take a different approach. |
1- We should look into what's distributed by Vite in real time by comparing what you did with the base 25-icon version. From a technical perspective I don't see anything preventing us from doing it. @Bonapara could you give us a product insight about this ? Infinite scroll + search vs fixed number of icons + search ? Or something else ? |
We can do infinite scroll with lazy loading + change the search to |
Ok let's implement windowing + lazy loading then + the UX changes that you gave. @BOHEUS Could you update your issue to reflect that ? |
@lucasbordeau done |
Scenario:
Actual: Table of icons in create new view is not scrollable
Expected: Table of icons in create new view should be scrollable, icons must be lazy loaded to have the same user experience, despite over available 4000+ icons, only 25 must be visible at the time, search placeholder must reflect amount of icons (change to "Search 4000+ icons")
The text was updated successfully, but these errors were encountered: