-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Details
On line 114, change the rowCount: 60 to anything small yet reasonable, like 250. Observe the scroll functionality drop to single digit framerate.
Not quite as small, but still reasonable values like 1,000 drop to fractional frames per second. 10,000 crashes the page on scroll. Debug lowers these thresholds but they are still quite apparent even in a release build.
Obviously, a list like this should be using more specialized widgets like Slivers. However the documentation, the original issue (#58603), the PR that added it (#77414) all talk about this as a performance constructor. This doesn't seem feasible in the current form.
EDIT: Removed some stuff now that I realized that Positioned works to turn the builder form into a viewport. It would be nice to have this better documented and perhaps available in a more explicit manner.
justinmc thanks for all your work on making InteractiveViewer as powerful and easy to use as it currently is.
Target Platform:
Web
Target OS version/browser:
OSX, both Chrome and Firefox
Devices:
Macbook Pro