3 ms·
wait, why is undoing by word better? I like backbone's approach!
by saxenaabhi 1y ago
wait, why is undoing by word better? I like backbone's approach!
- lelandfe 1y agohttps://jsfiddle.net/pn6bzyhk/1/ https://jsfiddle.net/pn6bzyhk/1/ Native behavior for comparison. React is following it; Backbone is not. The native behavior on macOS, for instance, undoes all three words in one action: https://imgur.com/a/jKl5exU https://imgur.com/a/jKl5exU (Not your fault: most people misremember this...)
- warpspin 1y agoWell played. Have been using Mac OS for 20 years and I did not expect this result, if asked. This is why you should always be wary about re-implementing OS behaviour yourself in your widgets, you will always miss at least one detail, but more probably dozens of them.