5 ms·
Thanks for catching that. Hot keys have been a pain. I also found an issue with copy pasting inside text boxes. I promised myself and my startup friends I woul
by michaelaubry 6y ago
Thanks for catching that. Hot keys have been a pain. I also found an issue with copy pasting inside text boxes.
I promised myself and my startup friends I wouldn't touch code until I handled doing marketing and sales.
It's on the backlog now, thanks for letting me know. This feedback goes along way :)
- stopachka 6y agoMousetrap is the best shortcut library I’ve used, and can help you do this well, catching a bunch of edge cases
- jozzy-james 6y agoe.keyUp...c'mon man, don't need a whole library
- stopachka 6y agoYou’d be surprised — for ex: where do you listen for that event? Something has to be in focus — most kb implementations rely on this and fail.
- michaelaubry 6y agoDon't really need a lib. Things to consider. If the textbox is active then you need to respect the native key commands for the textbox. You have the ability to cmd + c & cmd + v to copy & paste objects in the editor. So you need to most likely prevent the event key from propagating upwards inside keyUp within the textbox. So you aren't wrong it's just one more thing to consider amongst the million other things. I have a backlog and will knock these out all in one day easily :)