mail
mail copied to clipboard
App does not prevent accidental leave that causes data loss
Steps to reproduce
- Compose a new message
- Before draft saving kicks in, close the tab
Expected behavior
The app asks me for confirmation and only drops my data if I consent.
Actual behavior
Data is silently dropped.
Mail app version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
This can be solved by JavaScript's onbeforeunload.
It's actually even more troublesome in the following case:
- Start writing an email.
- Draft is saved for the first time. "Draft saved" notification is shown.
- Continue writing for some time. "Draft saved" notification is continuously shown.
- Remember sth you need to check from another email.
- You close the editor directly.
- You lose your last couple of sentences because the email is saved periodically.