Using the Microsoft Teams native app on your desktop? It it CONSTANTLY opening BROWSER WINDOWS to get to content within Teams? Yeah, happens to me too.
Turns out there is a way to copy the link to a TAB in a teams project that includes a specially encoded hint to the browser. That hint tells the browser “open this in the Microsoft Teams window”.
Why in the HELL Microsoft has to redirect links to its own content out through an external browser and back in again is beyond me — but at least this trick puts you immediately back into Teams …. until the next click.