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
When using the ranged selection (shift key pressed), on the first try, nothing is selected.
When looking at the code, the culprit is quite obvious:
if (range) {
// Use a set to avoid item duplication
let { _lastSelectedIndex } = tree;
let minIndex = Math.min(_lastSelectedIndex, rowIndex);
let maxIndex = Math.max(_lastSelectedIndex, rowIndex);
Of course, _lastSelectedIndex is undefined therefore Math.min/max is NaN.
The text was updated successfully, but these errors were encountered:
Hello!
When using the ranged selection (shift key pressed), on the first try, nothing is selected.
When looking at the code, the culprit is quite obvious:
Of course,
_lastSelectedIndex
is undefined therefore Math.min/max is NaN.The text was updated successfully, but these errors were encountered: