-
Notifications
You must be signed in to change notification settings - Fork 506
Description
Describe the bug
The Help and Support modal on the https://mzima-dev.staging.ush.zone/map exhibits inconsistent behavior upon clicking its links. Specifically, the modal properly closes when users click on the Documentation, Report Bug, Features, or Onboarding links, which then open its linked pages in a new browser tab or a modal (for onboarding). However, when clicking on the Privacy Policy or Terms and Conditions links, the modal remains open in the original tab even after navigating to the linked pages in a new tab, diverging from the expected behavior.
To Reproduce
Steps to reproduce the behavior:
- Navigate to https://mzima-dev.staging.ush.zone/map or http://localhost:4200/map
- Tap Help & Support on the sidebar which brings up the help & support modal.
- click on the links within the modal one by one: Documentation, Report a Bug, Features, Onboarding, Terms and Conditions and Privacy Policy.
- Observe the behavior of the modal for each link, noting the differences between the first four links and the last two.
- Notice the modal's behavior especially when clicking on the Privacy Policy and Terms and Conditions links, observing that it remains open in the original tab even after the new tab has been opened.
Expected behavior
Upon clicking any link within the Help and Support modal, the modal should close in the original tab, reflecting a consistent user experience across all options, and navigating the user to the respective link in a new browser tab.
Actual behavior
The modal closes as anticipated for Documentation, Report a Bug, Features, and Onboarding links but remains open for the Privacy Policy and Terms and Conditions links are clicked disrupting the uniformity of user experience across the platform.
Screen.Recording.2024-03-08.at.1.19.52.AM.mov
**Desktop Hardware Details **
- OS: [Mac OS ventura]
- Browser [chrome,]
- Version [13.4.1]
@Angamanga Please help add the Outreachy Task Submission Label to this issue, I'm working on this.