Commit Graph

6 Commits

Author SHA1 Message Date
Bigpawn
d79bc2ac55 fix(components): [splitter] resize-end event sizes value is not the latest (#22125)
* fix(components): [splitter]在调整大小结束时添加 nextTick 以确保延迟更新

当 lazy 为 true 时,使用 nextTick 确保在 DOM 更新后触发 resizeEnd 事件

* fix(components): [splitter] Fix the ts issue of onResizeEnd

* fix(components): [splitter] Add test cases

* fix(components): [splitter] Merge remote changes and keep test cases

* chore: format

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-09-12 09:14:18 +00:00
Zhong
4080916453 fix(components): [splitter] keep panel size when container size is 0 (#21893) 2025-08-25 21:24:00 +08:00
Zhong
67ce064086 feat(components): [splitter] add lazy prop (#21730)
* feat(components): [splitter] add lazy prop

* chore: cleanup

* fix: lazy change should end dragging
2025-08-16 11:22:54 +02:00
Zhong
a2884da5f8 fix(components): [splitter] collapse works with two-way size and min & max (#21738)
* fix(components): [splitter] collapse works with two-way size and min

* test: fix case

* chore: rerun ci
2025-08-15 19:18:31 +02:00
Zhong
dd69d738ec test(components): [splitter] add tests for component events (#21328) 2025-07-12 16:59:28 +02:00
Gnalvin
d720e5c31c feat(components): [splitter] new component (#20145)
* feat(components): [splitter] new component

* docs(components): [splitter] update docs

* feat(components): [splitter] add export ElSplitter ElSplitterPanel types

* feat(components): [splitter] support touch even

* Update docs/.vitepress/crowdin/en-US/pages/component.json

Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>

* docs: update

* docs: update

* chore: update docs & code

* chore: update docs & fix code type error

* fix: use slot show error

* refactor(components): [splitter] modify props use

* refactor(components): [splitter] use native event listener to drag

* fix(components): [splitter] panel bind attrs

* refactor: use `useOrderedChildren`

* chore: fix types

* feat: add icon

* chore: translate comments and add beta tag

* docs: add default-size api

* docs: remove demo lang="scss"

* refactor: remove default-size api

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com>
Co-authored-by: warmthsea <2586244885@qq.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: kooriookami <bingshuanglingluo@163.com>
2025-06-03 23:01:28 +08:00