F8 is not closing the console

When I try to connect to a server, we should press F8 and paste the link to connect. I’m not sure why, but this is how everybody connects to the server. now after I press F8 and i get the console, I paste the command and hit enter, Fivem starts connecting to the server, but the issue is when I press F8 again the console stays there and it doesn’t hide. Its just stuck there covering most of the screen

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!

still waiting for a response if anyone can help with this issue