A patent from Nintendo suggests that they're working on a magnetic joystick system, aka hall effect joysticks, which would solve stick drift.
A patent filed by Nintendo suggests that they’re working on Hall Effect style joysticks for the Switch 2 that would eliminate stick drift almost entirely.
It’s actually around the stick, not in. Check a right joycon teardown, you’ll see the antenna stuck to the inside of the shell.