I fought with this so much today.
Our robots can be driven remotely via a web app. But there’s ways to accidentally get buttons stuck down because keyup is never guaranteed and you can’t get key state. Two cases: holding down forward key and blur the tab, or open contextmenu.
There’s workarounds of course. But it’s comical spending so much time on something so simplistic.