Closed
Description
Nature of issue?
- Found a bug
Details about the bug:
- Web browser and version: Google Chrome 86.0.4240.75
- Operating System: Windows
- Steps to reproduce this bug:
Open a sketch, press Play, then close the tab.
Even though I made no changes, the annoying beforeunload
handler prevents me from closing the tab.
Feature enhancement details:
Some ideas:
a) Remove the handler entirely, it's more frustrating than it helps.
b) Automatically save drafts to prevent data loss. LocalStorage is a great place for that.
c) Make installation of beforeunload
handler configurable.
d) Properly detect actual changes and don't prevent user's from closing a tab just because they played the sketch.