-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Performance issue in creating ion-select of 250 options #17641
Comments
@YugoBekitzur Try changing from |
Having the same issue: Hope someone knows a workaround regarding this issue. |
As a workaround, that may help, thanks. However, that doesn't solve performance issue with rendering select options. I'll test today, how much it will take on Ionic 3 and share results. |
Hi there, Thanks for opening an issue with us! I don't think this is the intended usage of The other consideration here is the user experience -- The popup for In terms of implementing something like virtual scroll inside If you have any questions regarding how to implement virtual scroll with a modal or popup, feel free to post on our forums or our slack. Thanks for using Ionic! |
Thanks for you reply. As I said above, I don't think I experienced that on Ionic v 3.x. |
@YugoBekitzur have a look at package |
Thanks. Will do! |
@liamdebeasi |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
Bug Report
Ionic version:
[x] 4.0.1
Current behavior:
tested only on Android
I see a delay in almost 2 seconds when navigating to the page, containing a select with 250 options (countries list). I made a short performance research through Chrome Performance tab. 1.58 s took rendering this list.
Snapshot from performance test:
Expected behavior:
It should take at least twice less than it is now.
I don't think, I faced this issue working with ionic 3.
Related code:
CountriesService is initialised on app start and keeps countries in service until requested. So it doesn't take any time to retrieve countries on pages, where it's used
Ionic info:
The text was updated successfully, but these errors were encountered: