Open
Description
Describe the bug
Our component relies on the AnalyticalTable to display datasets, sometimes large ones.
In this case we have a big tree, and the user wishes to select (check in a multi-select table) a node. It takes more than 20 seconds for the click to be processed, this is way too long.
Isolated Example
https://codesandbox.io/p/sandbox/snowy-shape-hw4d99?file=%2Fsrc%2FApp.tsx%3A31%2C16
Reproduction steps
- Open the attached sandbox
- Expand node "A node with many children"
- Click on a check box for one of the "CHILD#" nodes
4.Wait... You may even get a browser message about the page being unresponsive.
5.After a while the node "A node with many children" finally gets the indeterminate state in its checkbox.
...
Expected Behaviour
The action should be instantaneous.
Our investigation seems to exhibit an algorithm in the useIndeterminateRowSelection plugin performing full tree scans upon selections, maybe this can be improved.
Screenshots or Videos
No response
UI5 Web Components for React Version
1.16.0
UI5 Web Components Version
1.14.0
Browser
Chrome, Edge
Operating System
MacOS, Windows
Additional Context
No response
Relevant log output
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Future