Chosen Solution

Everytime I play a game like SSBU or Some other game my left joycon keeps “disconnecting” from the switch like I want it to be on table-top mode (the joycons not on the console) and it’s starting to annoy me and it’s starting (slowly) to the right joycon too, can somebody help me?

it may have something blocking the connection or the connector may have been damaged im not that of a professional but you can also try carrying it to a 3rd party repair place or following a guild