You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my application, I'm adding several hundred elements to Containers.
Each of these Containers represents a line displayed in the ScrollBox component.
Problem: As soon as I add a Container via ScrollBox.addItem (or all with ScrollBox.addItems), it takes a long time to render (~50s on my machine).
(Optional): Suggest A Solution
Add an “autoResize”/“manualRender” option to render whenever you like + add ScrollBox.render() method to launch the render manually.
Run a single rendering (= 1 call to this.resize() ) when calling the ScrollBox.addItems method (or ScrollBox.addItem with multiple parameters).
Because when you add an item (with ScrollBox.addItem, see this line), it launches a rendering (it's ok).
But, if you add multiple items in one method call (with ScrollBox.addItems), each item run a render (=> each items added = 1 call to this.resize()).
The text was updated successfully, but these errors were encountered:
Please Describe The Problem To Be Solved
For my application, I'm adding several hundred elements to Containers.
Each of these Containers represents a line displayed in the ScrollBox component.
Problem: As soon as I add a Container via
ScrollBox.addItem
(or all withScrollBox.addItems
), it takes a long time to render (~50s on my machine).(Optional): Suggest A Solution
ScrollBox.render()
method to launch the render manually.this.resize()
) when calling theScrollBox.addItems
method (orScrollBox.addItem
with multiple parameters).Because when you add an item (with
ScrollBox.addItem
, see this line), it launches a rendering (it's ok).But, if you add multiple items in one method call (with
ScrollBox.addItems
), each item run a render (=> each items added = 1 call tothis.resize()
).The text was updated successfully, but these errors were encountered: