2 ms·
How about the case where the network is slow, so the save operation hasn't failed yet, but it will be interrupted before completing if the user closes the webpa
by Georgelemental 3y ago
How about the case where the network is slow, so the save operation hasn't failed yet, but it will be interrupted before completing if the user closes the webpage?
- strogonoff 3y agoYou can’t avoid that with the indicator either. Closing windows by accident or due to a crash happens. Consider using window.onclose and saving to local storage to avoid data loss. That said, you could use a separate mode for users with bad network. That mode may require more changing and distracting UI elements. I am not prepared to say whether it is a good solution though.