TS closes when I click enter when changing my nickname on a server

As the title says, I am on a Mac, and when I change mi nickname on a server (I don’t change it on the bookmarks as I only want that nick temporarily) and click enter to confirm the change, Team Speak sometimes (the majority of the times) closes and sometimes it doesn’t.
I don’t know if this is something I have to turn off on my configuration because I couldn’t find anything on configuration. I also don’t have enter as a key bind to close Team Speak.

I had this and for some reason when I was changing my name on TS, it was highlighting the close tab top right, then clicking “Enter” makes it act on what’s highlighted hence closing TS.

twitch instagram twitter facebook