-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/tabsfeatureThis 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 fix
Description
Bug, feature request, or proposal:
Feature Request
What is the expected behavior?
Following a similar function to how canActivate and canDeactivate works on Routing, it would be extremely beneficial to have a way to run a check before allowing a tab to be activated or deactivated.
What is the use-case or motivation for changing an existing behavior?
Within the tabs, if a user is able to change a setting or edit information and the user is required to click 'save' before the changes are committed, there should be a way to prompt the user of the existing changes before they can navigate away, by switching tabs or routes. The necessity here would be that we would need a way to check both on tab switch and route switch without (hopefully) having to duplicate code.
MikeMatusz, luchillo17, finalxcode, Siceberg, carlostraccialini and 16 more
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/tabsfeatureThis 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 fix