I have a similar problem with my right joy con too. My SL button is not working, and when I assign any other in place of it, settings menu showed a new button is assigned but in the games it just won't work.
Does anyone have any ideas that might help me with this?