palantir/blueprint

Overflow list: add option to keep children mounted

Open

#3,016 建立於 2018年10月11日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)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.

貢獻者指南

Overflow list: add option to keep children mounted · palantir/blueprint#3016 | Good First Issue