asciiflow icon indicating copy to clipboard operation
asciiflow copied to clipboard

Ctrl+Z shortcut keeps executing browser's functionality instead of prevent it.

Open Trung0246 opened this issue 4 years ago • 2 comments

Apparently asciiflow didn't call preventDefault to stop default browser behaviour on Ctrl+Z. Looking at the code seems like preventDefault only appear at touch input. I would suggest to add preventDefault on keyboard input too, especially with shortcut like Ctrl+Z which is a common shortcut on different browsers.

Browser: Vivaldi. OS: Win10.

Trung0246 avatar Apr 29 '21 03:04 Trung0246

This is something I see locally on vivaldi too. Is there a way to fix this?

damageboy avatar Mar 13 '22 08:03 damageboy