Pasted text appears in other tab

Description

Environment

  • Mattermost Server: 5.21.0

  • Desktop Client: 4.4.0.55682 Mac & Windows

Steps to Reproduce

1. Open multiple tabs to the same server
2. In one tab, open a reply thread in one channel and click on the reply box to set focus
3. In the other tab, paste text into the comment field (doesn't matter the channel)

Expected Behavior

Pasted text only appears in text field with focus (this is how it works in the browser). Subsequent pastes append the text to the other text box. See attached screenshots

Observed Behavior

The text appears in both text areas when pasted. Cmd+V, Cmd+X, and Cmd+C stop working on Mac.

QA Test Steps

None

Mana

None

Assignee

Guillermo VayĆ”

QA Assignee

None

Reporter

Paul Rothrock

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure