-
Notifications
You must be signed in to change notification settings - Fork 33
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
Improve tab rendering perfomance #68
Comments
Why can't you just use display: none;? |
I added When you use |
PS: So I think it costs as same as |
@georgeOsdDev Awesome! Thanks a lot! |
v0.7.0 is now available on NPM! |
react-draggable-tab hides a tab by setting its
height: 0
.This means, that the contents of each tab need to be resized every time the tab is selected.
This may cause the view engine to render the selected tab very slowly.
Solution 1:
Switch to absolute hiding
Solution 2:
Let the user configure the hiding styles via props
The text was updated successfully, but these errors were encountered: