Clicking on a post will highlight it after returning to the tab/window

Description

Reproduces on 5.14 and master. Does not reproduce on 5.13.2
Reproduced in Chrome and Desktop app on Windows 10.

Steps:
1. Click on a post in the center channel
2. Minimize the browser/desktop app (or switch to a different tab)
3. Return the window back to the front

Observed: The post that was clicked on in step 1 is now highlighted (see attached video)
Expected: Post is not highlighted unless hovered

QA Test Steps

Test Steps:
1. Click on a post (not a button or link in a post)
2. Switch to a new tab and switch back
3. Move the mouse without clicking

Expected: There should be no visual updates to the post (i.e. the post should not receive an a11y focus outline.

Status

Mana

2

Assignee

Dean Whillier

QA Assignee

Lindy Isherwood

Reporter

Ogi Marusic

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

QA Testing Areas

Keyboard Shortcuts

GitHub Issue

None

Components

None
Configure