Posting this here, as it only happens to me with notifications generated via power automate. I'm not aware of this with any other notifications. It might be an issue in the New Microsoft Teams client - if so, it'd be ideal if you can forward it to the responsible team.
I run a Post a feed Notification step for a Microsoft Teams group chat in Power Automate. It completes successfully and I receive the notification in Teams as expected. However, when clicking Activity icon in Teams (left hand navigation, bell icon), the view in teams automatically changes to the group chat I've set in the power automate step without additional user action (i.e. no click on the actual notification) when the notification from power automate is at the top of the activity feed. Effectively, the Teams user can no longer use their activity feed to view/click other notifications, as long as the power automate notification is in the top spot, because they're immediately "redirected" to the group chat. The notification causes the same behavior for me and another user I included in the notification recipients and asked for feedback. Once the user receives any other notification that isn't from power automate, the activity feed works again and only clicking on the notification generated by power automate changes the view to the group chat as expected.
Expected behavior is no automatic switch of the view in Teams. Clicking on Activity should display the activity list of Teams. If a user clicks on the notification generated by power automate, they should be directed to the group chat in this case.
There appears to be nothing special about the notification step:
{
"type": "OpenApiConnection",
"inputs": {
"parameters": {
"poster": "Flow bot",
"notificationType": "groupchat",
"body/recipient": "@items('For_each')?['userId']",
"body/previewText": "Test Notification",
"body/chatRecipient": "<id of selected chat>"
},
"host": {
"apiId": "/providers/Microsoft.PowerApps/apis/shared_teams",
"connection": "shared_teams",
"operationId": "PostFeedNotification"
}
}
}

Report
All responses (
Answers (