Describe the bug
The modal showing a shift is shown on an overlay, as usual. Closing the modal by the close button or clicking the overlay works fine. But using the browsers back button, you get back to your calendar or shift overview, but the overlay is not removed. After that, the page is unusable, as it captures the events. A full page reload is need to fix it.
To Reproduce
Steps to reproduce the behavior:
Open the shift modal
Use browsers back button, or the back (software) button of your phone
Error
Expected behavior
The overlay should be removed
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Linux, Windows
Chrome, Edge
Smartphone (please complete the following information):
Describe the bug The modal showing a shift is shown on an overlay, as usual. Closing the modal by the close button or clicking the overlay works fine. But using the browsers back button, you get back to your calendar or shift overview, but the overlay is not removed. After that, the page is unusable, as it captures the events. A full page reload is need to fix it.
To Reproduce Steps to reproduce the behavior:
Expected behavior The overlay should be removed
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):