Commit f74fbb57 authored by Daniel García Moreno's avatar Daniel García Moreno

Escape management in only one method

I've moved the leave full screen on escape from the media_viewer to the
existing escape method in to have all the behaviour in only one

Doing this I've also added the functionality to go back to the chat when
we're in the MediaViewer and to do this I've to modify a little the
autocomplete, to avoid the close when we press escape on the
autocomplete popover.

I've also changed the key management on key press instead of key release
because the keypress is grabbed by child windows or popovers and the
release isn't.

Close #277
parent 6999de57
Pipeline #17950 failed with stage
in 16 seconds