Open guratr opened 1 year ago
Got the same issue, running a website with multiple components that have their own modals. The user can add as many rows as they wish, any more than 10 and the website is nearly unusable.
Got the same issue, running a website with multiple components that have their own modals. The user can add as many rows as they wish, any more than 10 and the website is nearly unusable.
I noticed the same problem with ininite scroll and dynamic loaded content. I have an overload of eventlisteners from poppenjs, that is used by flowbite for dropdowns etc.. In my oppinion these performance issues should get a higher prio, because it makes my application nearly unusable.
i have over 2000+ small tooltips, a few modals, a few dropdowns (which is not unrealistic in a normal SaaS UI) and after page load there is a 1-2second and also a scrolling lag/refresh issue. :-(
Its got to the point now where i'm ripping out import('flowbite')
and having to write my own JS :(
I noticed on my project that scrolls on comment page are very laggy, and found the DropDown component to be the problem. I tried striping everything else that may be causing this, but even for the most minimal setup the issue persist.
To Reproduce I just print plane html with php like this, with 100 components on page. dropDown.txt
Screenshots![image](https://github.com/themesberg/flowbite/assets/1502853/c9cc8f57-f880-4e7e-8521-8b1f77b2da0d)
As you can see out of 1.63 s of scrolling, 991 ms spent on scripting.
Desktop