palantir/blueprint

Support for lazy loading tabs

Open

#4,669 创建于 2021年4月22日

在 GitHub 查看
 (0 评论) (3 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P2Package: coreType: feature requesthelp wanted

描述

There is support for renderActiveTabPanelOnly but not something in between: Do not unmount any tabs, but only mount tabs after they are clicked on instead of all at initial load.

This is the default behavior in some libraries (eg. https://ant.design/components/tabs/, it can still overwrite default behavior with forceRender prop).

贡献者指南