Replies: 1 comment
-
you could try wrapping your component in another component that uses the tab 'visibility' by registering a listener (using https://github.com/caplin/FlexLayout?tab=readme-ov-file#tab-node-events), then you can mount/unmount your inner component as needed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there any way to unmount the component when you switch tabs? Right now, I can see that it adds a
display: none
css style to the tab panel which means that it is always mounted. We have components that are very data intensive so having too many mounted but hidden tabs doesn't work for us.Beta Was this translation helpful? Give feedback.
All reactions