Open 4kh00 opened 3 months ago
i can see that although modals are kinda difficult to make properly. i will definitely keep this in mind
doing this however will pave the way to add more custom modals throughout the site
the only problem is that i'm pretty sure the only way to prevent someone from leaving the site is using the builtin popup, because if you could do anything then sites could just eat the request and not close. it could be possible if all the external links were replaced with buttons that trigger the unsaved thing before redirecting although that's too much effort for it to be worth it
The modal when I have unsaved changes in Settings is just the default version. It just looks slightly visually jarring. I would label this as an enhancement, priority low, and I have no clue about the difficulty. This site looks awesome - thanks for making it.