palantir/blueprint

Overflow list: add option to keep children mounted

Open

#3,016 opened on 2018年10月11日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
Package: coreType: feature requesthelp wanted

説明

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.

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