4 ms·
With some web apps, you can actually lose data because it's so easy to inadvertently swipe back in Safari for Lion. This only seems to happen when the page trie
by cobralibre 15y ago
With some web apps, you can actually lose data because it's so easy to inadvertently swipe back in Safari for Lion. This only seems to happen when the page tries to catch the unload event and throws up a "Leave or Stay" dialog. Choosing the latter does _not_ return the user to the previous page as it should, so if you were in the middle of typing something when you accidentally triggered the Back event, you've lost that work.
I've seen this happen with JIRA and Gmail. Hacker News, which does not attempt to catch a user with unsubmitted data, works just fine. You can type a comment, swipe back, then swipe forward, and your comment will still be there.
- r00fus 15y agoGmail auto-saves your content, JIRA should do the same (or have an option to). The Safari back "feature" is not much worse than closing a window, browser crashes or OS crashes - stuff happens, a simple modal to prevent loss isn't adequate. I'm not trying to diminish the complaint of the posting (which is valid) but web-apps should really capture "intents" as new stored data. If I intend open a new ticket, a new record should be automatically be created regardless, and then marked "deleted" if I abandon it (which could be reversed later).
- X-Istence 15y agoWhen typing into a text box field and navigating back Safari will actually ask you if you meant to do that. It is the same behaviour when you close a tab that you've typed in, or close a window that you've typed in.
- cobralibre 15y agoTrue, Safari will present a warning dialog if you have entered text and you attempt to close the current tab. It will not do this if you initiate a Back action (easily verifiable with this very site). The latter behavior is fine in most cases, as you can initiate a Forward action and return to the page with your text. There is a specific case where this is broken, which is what I was talking about.