Comments (2)
I did a quick stress test and it looks like other elements aren't as affected. I did a perf test and traced 90% of the computation down to getBoundingClientRect
inside the @radix-ui/react-collapsible
which the accordion package uses.
- we can look into rolling our own accordion (or find another) that is more performant
- maybe there is a better UI for this: tree-view, searchable list, etc
But is there anything we can do to prevent this from crashing the browser?
as a general tool, we can add virtualization. you may lose cmd+f
-ability, but could wrap components in mo.virtualized_view(accordions, max_height=1000)
and they will only render when in view
from marimo.
I am going to close as won't fix, since this is rather niche.
from marimo.
Related Issues (20)
- How to run the pyodide version of marimo locally HOT 5
- no response or a browser opened after the `marimo edit` command HOT 5
- image comparison slider widget HOT 2
- marimo table summary fails for column containing list (not broken, just stack trace to console)
- Seaborn Facetgrids do not show HOT 2
- Data Explorer column name Bug HOT 2
- Integrate `Excalidraw` into marimo
- Unable to capture user-defined module updates HOT 6
- `marimo lint/tidy notebook.py`
- when cell is running, marimo add some "invalid non-printable character U+00A0" HOT 2
- markdown export fails on wasm (ModuleNotFoundError for pyyaml)
- marimo edit hangs when using starlette==0.26.1 HOT 2
- Bad display of mo.ui.table distributions widget on Firefox HOT 3
- BlockingIO Error HOT 2
- Convert .py scripts to marimo notebooks HOT 3
- Special case staleness detection of "import-only" cells HOT 2
- ui.table: full-table sorting HOT 4
- Admonition casing is o
- Download as button is not responsive
- Include html headings in `View outline` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marimo.