palantir/blueprint

Support for lazy loading tabs

Open

#4669 aperta il 22 apr 2021

Vedi su GitHub
 (0 commenti) (3 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: coreType: feature requesthelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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).

Guida contributor