tldraw / tldraw-v1

A tiny little drawing app. This is the original 2021-2022 version, released under MIT.
https://old.tldraw.com
MIT License
61 stars 36 forks source link

[feature] Prevent backspace from navigating back #76

Closed skosch closed 8 months ago

skosch commented 1 year ago

Love tldraw – thank you for this brilliant tool, Steve!

Small suggestion: I've got backspace mapped to history-back in my browser – decades of muscle memory! – and this works great 99% of the time, but sometimes I hit backspace to delete an object in tldraw, and it kicks me out of the app.

Usually, I now prevent this by pasting something like this backspace-disabling snippet into my browser console whenever I start tldraw, which solves the problem. It would be lovely if this were built into the app.

(I do think I'm in the minority nowadays, so if there are edge cases I don't know about where this would be bad and unexpected behaviour, then I'm happy to keep using my manual workaround.)

steveruizok commented 1 year ago

Interesting, I thought we'd set that keyboard shortcut throughout the app. What browser / OS are you on?

skosch commented 1 year ago

Firefox + Linux :)