kylelhk / Pictionary

CITS5505 Agile Web Development - Group Project
MIT License
1 stars 0 forks source link

Show confirmation modal if the user clicks on an area outside of the word category modal #69

Closed trieuH closed 4 months ago

trieuH commented 4 months ago

At the moment, if a user is shown the word category modal, but they click on the canvas or any other area outside of the modal, the word category modal disappears and the user is shown a canvas where the timer does not start and no word is shown. image

Prevent this behaviour by showing the confirmation modal when the user clicks on an area outside of the word category modal.