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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Select] If have a lot data, open two times #16277
Comments
I would consider the first statement a bug as well but the second one is a common performance issue that should be solved with windowing libraries (also known as virtualization). |
It's the second time I see this issue class. I could have sworn that the first time, it was closed as "won't fix" but I can't find the reference. The reasoning was the following: "The double animation seemed correlated to the slowness of the component. Even without the double animation, the select is too slow to be usable, so why bother? Use the native select instead". |
I not find any issue relationed with this. For resolve this, I used |
Because there may be an underlying issue that is only reproducible deterministically with long lists i.e. maybe it also happens on slow devices? |
Yes, we very likely have an underlying issue. But is this an important one? It's an open question. Assuming that only people pushing the component to its limit can see it, I'm tempted to say no. But this assumption could be wrong. |
Sure so it as an issue. Not an important but unless we know the cause we shouldn't close it as wontfix if we don't even know how a fix would look like. |
But I tested it on my iphone 7 and it worked normally. Definily is strange and an issue. |
I can't reproduce this with Chrome Version 84.0.4147.105 (Windows 10). @viniarruda are you still experiencing this? Here's an updated codesandbox: https://codesandbox.io/s/nice-booth-t8u7u?file=/src/index.js |
@joshwooding I have seen this bug happen recently on the date picker, you can have this same issue with a x5 slowdown on the CPU when opening the date picker popup. I suspect an issue with the double rendering of react-transition-group. |
Expected Behavior 馃
Open the select options normally and don't have a reload because the transition
Current Behavior 馃槸
If my select have a lot data, while it opens, it recharges 2 times and takes too long to open.
I test in my Iphone and work normally, but in chromee browser crash.
Steps to Reproduce 馃暪
Link:
Context 馃敠
If the data is little, works normally. I think is relationed to screen size
Your Environment 馃寧
ts.config test in my application
The text was updated successfully, but these errors were encountered: