This issue should be fixed by the Photoshop 22.0.1 update.
To update Photoshop to 22.0.1, click "Update" in the Creative Cloud desktop app next to Photoshop. For help with updating, see Update Creative Cloud apps.
This issue is back for me in version 23 on windows 10. When I create a text box by dragging, the text inside as well as the bounding box is invisible. I can see it in the layers panel but not in the document. Clicking and typing works fine. The problem only occurs when creating a text box.