ant-design/components/splitter
jjlstruggle 8408880911
fix(Splitter): try recover history size when collapsed (#52222)
* feat: try recover history size when collapsed

* update: update shouldUseCache condition

* fix: it should recover history size when collapse back

* test: add Splitter test use fallback size when collapse back

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/splitter/hooks/useResize.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/splitter/hooks/useResize.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: sagajiang@tencent.com <sagajiang@tencent.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-01-07 12:06:14 +08:00
..
__tests__ fix(Splitter): try recover history size when collapsed (#52222) 2025-01-07 12:06:14 +08:00
demo feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00
hooks fix(Splitter): try recover history size when collapsed (#52222) 2025-01-07 12:06:14 +08:00
style chore: merge master to feature 2024-12-23 21:23:08 +08:00
index.en-US.md feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00
index.tsx feat:🔥New Component: Splitter (#50038) 2024-09-09 19:23:25 +08:00
index.zh-CN.md feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00
interface.ts feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00
Panel.tsx enhance: Resolve Splitter ssr render view (#51378) 2024-10-25 17:23:12 +08:00
SplitBar.tsx feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00
Splitter.tsx feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00