Codesandbox-client: ctrl+S occasionally shows the browser Save As dialog

Created on 12 Feb 2018  路  3Comments  路  Source: codesandbox/codesandbox-client

I haven't figured out the pattern, but sometimes the keyboard event handler that should handle ctrl+S fails to suppress the default behaviour, and the Save As dialog pops up.

馃悰 Bug

All 3 comments

Ah, a friend of mine found the scenario: if you press CTRL+V, then remove your finger from V and move it to S you get the dialog.

Pretty interesting issue, do you think this is fixable @christianalfoni?

I don't think that's the only way it occurs. And showing the save as dialog isn't the only symptom, it also doesn't actually save the file. My guess is that saving fails silently for some reason, and event.preventDefault() never gets called.

Fixed this one!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NataliaTepluhina picture NataliaTepluhina  路  3Comments

donavon picture donavon  路  3Comments

yazaabed picture yazaabed  路  3Comments

faceyspacey picture faceyspacey  路  3Comments

waruyama picture waruyama  路  3Comments