It’s a piece of paper.
Joy-Con is a known problem affecting many Switch owners, but VK’s Channel on YouTube seems to have a solution. And it’s a piece of paper that’s 1 mm thick. Yes.
In his video he describes what Joy-Con drift is and from 5:55 he describes how to fix it. This solution should work for the Switch lite as well.
Source: Nintendo Life