palantir/blueprint

Overflow list: add option to keep children mounted

Ouverte

#3 016 ouverte le 11 oct. 2018

 (1 commentaire) (0 réaction) (0 personne assignée)TypeScript (2 167 forks)batch import
Package: coreType: feature requesthelp wanted

Métriques du dépôt

Stars
 (20 263 étoiles)
Métriques de merge PR
 (Merge moyen 43j 10h) (27 PRs mergées en 30 j)

Description

Environment

  • Package version(s): 3.7.0

Feature request

Current overflow list removes children from DOM when its invisible, and they will be loaded again if they be visible again.

Sometimes the operation of remove and create elements costs too much performance and affects other components, like css animation.

If there is an option that allows keep children in the DOM tree (e.g. just set display: none to them), overflow list will have better performance.

Guide contributeur