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
I've been adding multi-select support to GitLens treeview and noticed a few issues with tree views with canSelectMany enabled
Using shift-click, ctrl-click don't usually work correctly the "first" time, but seem to (usually) fix themselves on repeated attempts.
Untitled.video.mp4
In the above, I've made a quick modification to the TreeView Sample to enabled canSelectMany and just added a few more nodes to make it easier to see. And then clicked the first node, and then shift-clicked the last, and you can see that it didn't fully select all the nodes in between. But when I repeated the shift-click it fixed it.
I am not sure what causes it to work/not work sometimes and not others -- but it always seems to not work the first time, but there are other cases when it is just flakey.
I've been adding multi-select support to GitLens treeview and noticed a few issues with tree views with
canSelectMany
enabledUsing
shift-click
,ctrl-click
don't usually work correctly the "first" time, but seem to (usually) fix themselves on repeated attempts.Untitled.video.mp4
In the above, I've made a quick modification to the TreeView Sample to enabled
canSelectMany
and just added a few more nodes to make it easier to see. And then clicked the first node, and thenshift-click
ed the last, and you can see that it didn't fully select all the nodes in between. But when I repeated theshift-click
it fixed it.I am not sure what causes it to work/not work sometimes and not others -- but it always seems to not work the first time, but there are other cases when it is just flakey.
/cc @alexr00
The text was updated successfully, but these errors were encountered: