-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Popup rerenders and slowing page #3338
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
There has been no activity in this thread for 180 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one. However, PRs for this issue will of course be accepted and welcome! If there is no more activity in the next 180 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks! |
have similar problem, Popup use a lot CPU time comparing to other controls. |
@DavidLozzi @qyangdu in FYI: I tried it on |
Yes the performance is much better, but it brings in the issue #3725. |
Bug Report
Steps
I have Popup on our page, about ~80 times (20 database results, with 4 popups each). We have SEVERAL other Semantic UI components on the page as well, being repeated just as much.
When I interact with another control on the page, the page is sluggish, and exploring performance it shows the Popup control rerendering, always.
Here is the full render event when I click in a text box

Zooming into the depths, I see only Popups, no other controls (except for the parents of course)

We implemented Popup via our own component, using
memo
And one example of the implentation
Expected Result
Not to have Popup rerender completely.
Actual Result
See images above
Version
0.82.5
Testcase
The text was updated successfully, but these errors were encountered: