Spaceman
630c18ff25
fix(components): [tree] up/down keys stop working after expanding nodes ( #21526 )
...
* fix(components): [tree] Up/Down keys stop working after expanding nodes
Fix issue #21514
* fix(components): [tree] Up/Down keys stop working after expanding nodes
* fix(components): [tree] Up/Down keys stop working after expanding nodes
2025-08-01 10:37:59 +08:00
Spaceman
e34cd311ef
fix(components): [tree] keyboard nav broken after filter/collapse ( #21377 )
...
* fix(components): [tree] keyboard nav broken after filter/collapse
Fix issues #21376
* fix(components): [tree] keyboard nav broken after filter/collapse
* fix(components): [tree] keyboard nav broken after filter/collapse
* Update packages/components/tree/src/model/node.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update packages/components/tree/src/model/node.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* fix(components): [tree] keyboard nav broken after filter/collapse
* fix(components): [tree] add test cases
* fix(components): [tree] keyboard nav broken after filter/collapse
* fix(components): [tree] keyboard nav broken after filter/collapse
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
2025-07-21 10:17:32 +08:00
Noblet Ouways
2f17df1209
style(eslint-config): newline before import type ( #21036 )
...
* perf: change to import-x
* feat: add rules
* chore: fix rule
* chore: fix
* chore: fix
* chore: fix
* style: `pnpm lint:fix`
* Revert "style: `pnpm lint:fix`"
This reverts commit db0116a288 .
* Revert "chore: fix"
This reverts commit 69c82a90c0 .
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Anod Chow
91ffdbfca6
fix(components): [tree] filter update scheduling error ( #20267 )
...
* Update tree-store.ts
fix: the bug #20259
Ensure the sequence for the traverse step.
* fix(components): [tree] filter update scheduling error
fix(components): [tree] fix bug #20259
Ensure the sequence for the traverse step. If call the traverse without await, the code below will run before the children had been processed, making the parent node invisible.
2025-04-27 16:47:35 +08:00
Noblet Ouways
93308e46b7
fix(components): [tree] ensure no checked nodes in regular tree ( #20311 )
...
* fix(components): [tree] ensure no checked nodes in regular tree
* chore: fixup
* fix: test
2025-04-03 17:21:07 +08:00
Noblet Ouways
0ed86e74ce
feat(components): [tree/tree-select] add check-on-click-leaf attribute ( #19494 )
...
* chore: last leaf node clickable on `show-checkbox`
* chore: revert
* chore: leaf node checkable
* test: checkable by click on leaf node
* chore: test & doc
* chore: add version
* feat: handle tree-v2
* test: tree-v2
2025-02-26 21:24:58 +08:00
momei
dc7a7aa91b
fix(components): [tree] highlight the corresponding node after data reset ( #18578 )
...
* fix(components): [tree] keep it highlighted when the tree reset
* fix(components): [tree] add test case
2024-10-23 12:26:07 +08:00
btea
880417bbec
test(components): [tree] setCheckedNodes with disabled node ( #15753 )
2024-02-02 15:06:43 +08:00
btea
6416bb24a4
test(components): [tree] filter expand loaded node ( #15175 )
2023-12-17 12:49:06 +08:00
一只前端汪
23201e2f4d
fix(components): [tree] default slots not displayed ( #14939 )
...
* fix(components): [tree] default slots not displayed
* test: add customize some node contents
2023-11-27 16:33:35 +08:00
btea
c886ba44b1
test(components): [tree] custom label and children test case ( #13902 )
2023-08-08 19:38:22 +08:00
LIUCHAO
27e447b3ca
refactor(components): [tree] fix typo ( #9477 )
2022-08-26 18:18:46 +08:00
三咲智子
7097940f4a
refactor: add ts-nocheck and check all files ( #8401 )
2022-06-22 08:04:42 +08:00
三咲智子
1d13ebb05d
feat: drop jest ( #7248 )
...
* feat: drop jest
* test: remove ssr
* test: rename
* chore: update tsconfig
2022-04-19 16:51:44 +08:00
Delyan Haralanov
de0ee53cf0
test(components): switch all components to vitest ( #7205 )
...
Co-authored-by: 三咲智子 <sxzz@sxzz.moe >
2022-04-19 12:46:57 +08:00
三咲智子
b8c38a9fe5
chore: enhance eslint rules ( #6476 )
...
* chore: enhance eslint rules
* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
jeremywu
44dc9a1cf5
test(components): remove all sleep statement in the tests ( #5784 )
2022-02-06 00:37:20 +08:00
Herrington Darkholme
ee5a822bf2
test(components): remove several sleep from test code ( #4924 )
2021-12-22 13:42:20 +08:00
Greper
23325a942a
feat(components): [el-tree] allow tree node to have customizable class ( #3912 )
...
* feat(components): [el-tree] custom node class
* Update packages/components/tree/src/tree.type.ts
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com >
* refactor: [el-tree] getNodeClass use isString & isFunction
Co-authored-by: jeremywu <15975785+JeremyWuuuuu@users.noreply.github.com >
2021-11-02 22:36:47 +08:00
三咲智子
0636e1e240
style: add import and stricter lint ( #3440 )
...
* style: add import lint
* chore: apply eslint rules
* chore: add stricter lint
* chore: lint all files
* auto fix
* manually fix
* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template ( #3414 )
...
* style: eslint enable prefer-template
* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
三咲智子
55348b30b6
style: use prettier ( #3228 )
...
* style: use prettier
* style: just prettier format, no code changes
* style: eslint fix
object-shorthand, prefer-const
* style: fix no-void
* style: no-console
2021-09-04 19:29:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder ( #3016 )
2021-08-24 13:36:48 +08:00