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

Components Rendering Issue #495

Open
makbar-hgsd opened this issue Sep 26, 2022 · 3 comments
Open

Components Rendering Issue #495

makbar-hgsd opened this issue Sep 26, 2022 · 3 comments

Comments

@makbar-hgsd
Copy link

I am rendering multiple components in different react-tabs but whenever I switch between those tabs my components gets re-render. Is there anyway to stop this re-rendering on switching tabs?

@nasir733
Copy link

Hi I am facing the same issue were you able to solve this if yes plz can you tell me how did you solved it thanks

@tekisx
Copy link

tekisx commented Nov 22, 2022

Try adding forceRenderTabPanel={true} to your <Tabs> component. That fixed a similar issue for me

@willnaoosmith
Copy link

forceRenderTabPanel={true} renders all tabs at the same time,. So it solves the rendering issue, but creates another, making the tabs useless.

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

No branches or pull requests

4 participants