IPhone won't charge when ON and it burnt up
My new iPhone 8plus stopped charging for hours. It eventually died and i left it on charge for about 3 hrs and it charged to 75%. I realised that it charges when its OFF but won't charge when its turned ON. I accidentally(i knew it wouldn't charge but i forgot) left it charging ON and it burnt up. I don't know what's wrong, even after it burnt a charger, it still charges while OFF. What's wrong?