We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0894997 commit a230e4aCopy full SHA for a230e4a
packages/tree/src/model/tree-store.js
@@ -32,6 +32,7 @@ export default class TreeStore {
32
33
filter(value) {
34
const filterNodeMethod = this.filterNodeMethod;
35
+ const lazy = this.lazy;
36
const traverse = function(node) {
37
const childNodes = node.root ? node.root.childNodes : node.childNodes;
38
@@ -56,7 +57,7 @@ export default class TreeStore {
56
57
}
58
if (!value) return;
59
- if (node.visible && !node.isLeaf) node.expand();
60
+ if (node.visible && !node.isLeaf && !lazy) node.expand();
61
};
62
63
traverse(this);
0 commit comments