I am using the 7" official Raspberry pi touchscreen. I have checked all of the connections. When I plug the pi into an HDMI screen it works fine, but if I connect the 7" screen via the ribbon cable then it will boot, show the raspberry pi welcome screen then fade to white. I already ran apt update and apt upgrade and still no luck. I have even tried other Pi's and other SD cards.
I know it is not a bad screen because if I install NOOBS then the screen works fine until I boot to Raspberry Pi OS.