As it works with Firefox I agree that it is probably a browser setting.
According to this thread you can fix it in about:config
"I would recommend that you visit about:config in Firefox to access advanced preferences, then enter inbackground in the filter bar, and make sure that browser.tabs.loadDivertedInBackground and browser.tabs.loadInBackground are set to false."
https://forum.manjaro.org/t/firefox-doesnt-raise-window-after-clicking-a-link-on-wayland/154842