question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Loading dropdown component with many items is slow

See original GitHub issue

Similar to the issue described in #103, I am having trouble with the speed of very long dropdown lists (40k+ items). However, in my case it’s not the speed of searching the dropdown list (which has been solved in #103), it’s rather the time until the component is loaded dynamically.

Network issues should not be at play here, as everything is running locally.

Note the time between choosing to display the dropdown menu and the time until it actually shows up: peek 2019-01-20 16-52 (List with 100k items)

Minimal working example

minimal working example is here as a gist.

Dash versions

>conda env export | grep dash
- dash=0.35.1=py_0
- dash-core-components=0.42.0=py_0
- dash-html-components=0.13.4=py_0
- dash-renderer=0.16.1=py_0
- dash-table=3.1.11=py_0
- dash-bootstrap-components==0.3.0

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
grstcommented, Sep 5, 2019

Just wondering… is there an alternative by now? This issue is basically the only thing preventing me to switch from Shiny to dash…

5reactions
anubhav-ndcommented, Jan 14, 2020

Hi, I am also facing performance issue with updating a dropdown with ~10k items. Has anyone solved this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow Loading Drop Down Values - Power Platform Community
I am using the Filter function to get the items and it does not apear with the blue icon. Up until now it...
Read more >
Improve the performance of dropdown containing large data ...
Super large lists can slow down the site's performance significantly, at times even freeze the application. In such situations windowing (or ...
Read more >
How to reduce the load time of items inside the Dropdown
I am trying to load the 100 000 items into the dropdown list on the click event of the button. but it too...
Read more >
Very slow list load and drop down, 15k items - Telerik
If it is a requirement to show so many Items, the best way to handle it is to use Load On Demand as...
Read more >
DropDownList with large list is very slow - EJ 2 Forums
Set the ItemsCount property to load the required number of items initially. Kindly refer to the following code. @Html.EJ().DropDownList(" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found