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

Moving around the DOM without triggering unMount() / necessitating re-calling init() #678

Open
dliebner opened this issue Jan 20, 2024 · 0 comments
Labels

Comments

@dliebner
Copy link

dliebner commented Jan 20, 2024

Minor performance question here: I have a simplebar-ified element that I occasionally detach from the DOM and move somewhere else. It looks like this is causing simplebar to unMount() and so I have to call init() after re-inserting it into the DOM. I feel like there may be a more performant solution, is there one?

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

No branches or pull requests

1 participant