I'm not so sure of this. I was thinking for example that we might want to keep the focus when we're sending a message so that we can send another one, but I just checked that this doesn't work in master either so...

but to fix this particular bug, I'd rather just do document.activeElement.blur() in MessageManager's onHashChange, as it makes sense to not focus anything when we're changing panels anyway.

What do you think ?