Does your problems resembles this:
For a detailed report, could you answer these questions:
- What is your Safari version? See here, or manually search: Safari > About Safari (Latest is 18.5 (20621.2.5.11.8))
- What is your MacOS version? See here or manually search: Apple icon in top left > About this mac (Latest is 15.5)
- Do you use any extension? Which? Safari > Options > Extensions