CanClose invoked in wrong injection context
Closed this issue · 0 comments
danielwiehl commented
Describe the bug
The CanClose
guard should be invoked in the view's injection context, enabling the injection of the MessageBoxService
provided at the view level.
To Reproduce
Steps to reproduce the behavior:
- Implement
CanClose
lifecycle hook - Inject
MessageBoxService
incanClose
and open a message - Expect message box to be opened view modal
- See that message box is opened application modal