-
Notifications
You must be signed in to change notification settings - Fork 8
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
User menu takes a long time to open/close #23
Comments
Wonder if this is related to the bug Eugene had where the select was taking a long time to open? Both radix |
Well, I turned off all the CSS and it's instantaneous. So that's a pretty strong hint. |
A couple more details:
|
Ok. I'm like 80% sure it's that P3 colors are just slow, possibly when doing anything, possibly only when combined with some kind of opacity filter. |
Well there shouldn't be any opacity being applied whilst the dropdown is open. It doesn't seem too bad for me (especially with Possibly related: radix-ui/primitives#1634 |
Yeah, after commenting out nearly all the P3 color styling and still seeing the issue, I don't suspect the colors. It seems like it's just the full reflow with a bunch of divs in there taking a while. |
Weird one. Can repro locally. Seems like it's only on the homepage, which points to something about the cost of re-rendering the whole page? (which shouldn't be happening)
Update: it's not rendering the page, but it may still have something to do with the size of the page, maybe the cost of applying background opacity when the dropdown appears. When I type something in the filter box and make the list a lot shorter, the delay disappears.
https://twitter.com/shadcn/status/1672620192663478273
The text was updated successfully, but these errors were encountered: