XS Max screen dimming when heating up

Nov 7, 2018
This has happened already 3 times just web browsing using Safari. After about 5 min the screen auto dims and i notice the phone getting warm. Shut all the apps and restarted the phone only to happen again. I can play games with no overheating issues for hours....just web browsing. Anyone else have this issue? I have auto brightness turned off.