The key is quality.
That’s what typically happens in those crappy cheap chinese lights.
I challenge you to find a quality brand-name light (olight, nitecore, etc) that has a charging circuit that does not shut off when full.