Persistent Bitwarden UI and maintain unsaved data

For some reason I thought this was not an issue in Chrome, but I see it has the same behavior. In the desktop app it will stop you with a warning. I think the desktop app is Chromium powered, but it isn’t dealing with a browser’s UI limitations. No luck finding the code snippet that said something about this issue.