Got the same problem...
Recognized it with local coop games in docked - but only the joycons...
More often the right one...
I bought aeveral joycons, sent them back to Nintendo but still...
Then i bought another switch, and boy it was flawless...
But almost 3-4 weeks later (we didnt played...