ant-design/components/splitter/__tests__
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
..
__snapshots__ feat(tabs): add focus style for keyboard operation (#52002) 2024-12-19 19:38:29 +08:00
a11y.test.ts feat: add a11y test for components demo (#51414) 2024-11-01 11:30:11 +08:00
demo-extend.test.ts feat:🔥New Component: Splitter (#50038) 2024-09-09 19:23:25 +08:00
demo.test.ts feat:🔥New Component: Splitter (#50038) 2024-09-09 19:23:25 +08:00
image.test.ts feat:🔥New Component: Splitter (#50038) 2024-09-09 19:23:25 +08:00
index.test.tsx fix(Splitter): try recover history size when collapsed (#52222) 2025-01-07 12:06:14 +08:00
lazy.test.tsx feat(Splitter): add lazy mode (#51557) 2024-11-14 09:54:20 +08:00
ssr.test.tsx enhance: Resolve Splitter ssr render view (#51378) 2024-10-25 17:23:12 +08:00