When setting canDismiss with an AlertConfig in a routed modal, you get a confirmation alert when trying to close the modal. If you confirm closing in the alert, the modal closes and immediately you get the confirmation alert again. The issue does not happen when the modal was opened using ModalController.
Describe how to reproduce the bug
Please complete the following information:
OS: [e.g. Windows, MacOS, iOS]
Browser [e.g. Chrome, Safari]
Browser version [e.g. 22]
Are there any additional context?
Before the modal was closed:
After the modal was closed:
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
[ ] Make sure the NOT verified label has been removed by a member of team Kirby; do not proceed until this is done.
Implementation
The contributor who wants to implement this issue should:
Describe the bug
When setting
canDismiss
with an AlertConfig in a routed modal, you get a confirmation alert when trying to close the modal. If you confirm closing in the alert, the modal closes and immediately you get the confirmation alert again. The issue does not happen when the modal was opened usingModalController
.Describe how to reproduce the bug
Please complete the following information:
Are there any additional context?
Before the modal was closed:
After the modal was closed:
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is done.Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review: