-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixperfThis issue is related to performanceThis issue is related to performance
Milestone
Description
Bug, feature request, or proposal:
Proposal
What is the expected behavior?
Tab content hiding instead of ngIf removing them from DOM
What is the current behavior?
Temporarily Removed from DOM and inserted again once ngIf is active
What is the use-case or motivation for changing an existing behavior?
Switching between tabs seems to be a lot faster for me after adopting the content hiding instead of ngIf, along with that I'm creating a socket connection within each content which is being reset every time I load a new tab.
Which versions of Angular, Material, OS, browsers are affected?
All
Is there anything else we should know?
If allowed I'd like to post a pull request which would adapt both methods of doing this leaving the ngIf as default and only using hidden if a certain flag is used.
no-more, atalw, yesil, tulinisarg, shusson and 4 moreRicardoVaranda
Metadata
Metadata
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixperfThis issue is related to performanceThis issue is related to performance