HTML Tree: Search by typing loops instead of starting from beginning
Closes #2559
This commit is contained in:
parent
3d09ab4f18
commit
d9463daa66
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ class VirtualizedTable extends React.Component {
|
|||
}
|
||||
}
|
||||
else {
|
||||
for (let i = 0; i < rowCount; i++) {
|
||||
for (let i = this.selection.focused + 1; i == this.selection.focused; i = (i + 1) % rowCount) {
|
||||
let rowString = this.props.getRowString(i);
|
||||
if (rowString.toLowerCase().indexOf(this._typingString) == 0) {
|
||||
if (i != this.selection.focused) {
|
||||
|
|
Loading…
Reference in a new issue