Double clicking on script does not opening Visual Studio screen on mac

Double clicking on script does not opening Visual Studio screen if both are in fullscreen on mac and instead making wrong screen as active.
Screen Recording Jan 12 2025
I’m not sure if it’s mac or unity or vs issue. I tried several things but not luck