Hey Cavid_Rzayev, We'll need more info to help you with this.
What exact version of Photoshop & macOS are you working on? Would you mind sharing a screen recording of this behavior?
You can try to reset the Photoshop preferences:
https://adobe.ly/4gJYAp1
Let me know how it goes.
Thanks,
Shivani