palantir/blueprint

Overflow list: add option to keep children mounted

オープン

#3,016 opened on 2018/10/11

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,167 件のフォーク)batch import
Package: coreType: feature requesthelp wanted

Repository metrics

Stars
 (20,263 個のスター)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

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.

コントリビューターガイド