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 would be 100% possible for game devs to include an option to mitigate drift (require the stick to be pushed at least ~x% to move at all, adjustable anywhere from 10 for slight drift to 50 for extreme cases). Haven't seen the slightest effort nor heard a peep on that.
Bunch of people in the replies seemingly never tried to play puzzle games with drift and have no idea how much trouble it can cause. Do the puzzles in The Last Campfire with joycon drift and let me know how it goes.
It makes way more sense for that to be an OS level option, not per game. It also makes even more sense to have hall effect joysticks and avoid the problem entirely.
Wouldn't solve it, drift can affect regular joystick operation as well, where pushing it all the way to the side could show up as it being stuck in the middle.