Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

wait, why is undoing by word better? I like backbone's approach!


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

(Not your fault: most people misremember this...)


Well 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: