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

refactor: move prop destroyInactiveTabPane to TabPane #419

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ascodelife
Copy link

In the past, prop destroyInactiveTabPane can determine whether a tab needs to be destroyed when switching. However,it cannot specify the behavior of a single tab because it is the property of TabPanelList. I think its behavior should be similar to forceRender, which can determine which tab needs to be destroyed when switching and which does not. So, I refactor the prop destroyInactiveTabPane.

@vercel
Copy link

vercel bot commented Aug 21, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/tabs/Agr6nzy9SVcvcfWtwV8BVAyJR74a
✅ Preview: https://tabs-git-fork-ascodelife-master-react-component.vercel.app

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

Successfully merging this pull request may close these issues.

None yet

1 participant