Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
"Are you sure?" popup when closing a page
When I close a window while writing an answer, it closes immediately without any popup.
This has resulted in me losing a few answers while writing them midway.
The feature I'm asking for is an "Are you sure you want to close/navigate off this page?" popup whenever there's text in an answer field.
1 answer
I accidentally closed a tab with a question and lost some changes so I do feel your pain.
However, if we are going to fire an event on window exit I would much rather it be saving the draft in its current state.
That would avoid the popup and save your answer which should solve the problem.
1 comment thread