Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overflow list: add option to keep children mounted #3016

Open
KochiyaOcean opened this issue Oct 11, 2018 · 1 comment
Open

Overflow list: add option to keep children mounted #3016

KochiyaOcean opened this issue Oct 11, 2018 · 1 comment

Comments

@KochiyaOcean
Copy link
Contributor

KochiyaOcean commented Oct 11, 2018

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.

@giladgray
Copy link
Contributor

@KochiyaOcean interesting idea, definitely see the use case and the precedent in other components. happy to review a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants