FlexLayout
FlexLayout copied to clipboard
Keep all tabs mounted
Describe the bug
Can we add support to either mount all tabs immediately, or lazy loading -- once mounted, don't unmount them (unless the tab is closed)?
This is useful for persisting local states when switching tabs.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
Operating System
MacOS
Browser Type?
Chrome
Browser Version
Version 101.0.4951.67
Screenshots or Videos
Additional context
No response
The default behaviour is to lazy load tabs and keep mounted once loaded, state is maintained when tabs are moved.
You can force tabs to initially load by setting the tab attribute enableRenderOnDemand or the global attribute tabEnableRenderOnDemand to false