GSA / smartpay-training

Prototype for new GSA SmartPay training quizzes
8 stars 4 forks source link

Display Leave Site Message for Mobile Devices #588

Open JennaySDavis opened 1 week ago

JennaySDavis commented 1 week ago

We are currently using the default browser functionality for confirming navigation away from the quiz. The limitation of this is that browsers can choose if they will ignore this (we are currently seeing this on mobile devices). Create a custom confirmation model that is triggered on ngOnDestroy, to confirm the user's intentions to leave.

See https://designsystem.digital.gov/components/modal/ for guidance on implementation and design.

JennaySDavis commented 1 week ago

This issue is related to the closed issue that was marked as bug #399