Working in Safari can be a bit of a hassle, as you’ll find that certain things don’t work as smoothly as they do in other browsers. If possible, consider using a Chromium-based browser such as Google Chrome, Brave, or Arc (I love Arc).
Other than that, make sure both macOS and Safari is updated to the last version.