TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
177 stars 41 forks source link

Close popup chat by clicking esc #1280

Closed barisgul15 closed 6 months ago

barisgul15 commented 6 months ago

Is your feature request related to a problem? Please describe.

The popup chat opens another tab, so that students/lecturers can watch the lessons comfortably while seeing the chat, but while testing other issues on popup chat, I generally did not use the popup chat in full-screen mode. I used it as a smaller tab near some other tabs, so I would rather close the popup chat by simply clicking esc, rather then clicking the browsers quit tab button.

popupchat

Describe the solution you'd like

Add an event listener so that when esc is clicked, the popup chat tab closes.

Describe alternatives you've considered

It is not the most necessary feature, but adding this one can make using popup chat easier.