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

Keep all tabs mounted #319

Open
riwu opened this issue May 17, 2022 · 1 comment
Open

Keep all tabs mounted #319

riwu opened this issue May 17, 2022 · 1 comment

Comments

@riwu
Copy link

riwu commented May 17, 2022

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

@nealus
Copy link
Collaborator

nealus commented May 17, 2022

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

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

2 participants