Merge pull request #11477 from KDSBrowne/bbb-10774
Fix whiteboard text-area not allowing input on Firefox
This commit is contained in:
commit
875f9c1ca9
@ -114,9 +114,8 @@ export default class TextDrawListener extends Component {
|
|||||||
this.sendLastMessage();
|
this.sendLastMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
handleClick() {
|
handleClick(e) {
|
||||||
const { isWritingText } = this.state;
|
if (e.srcElement.getAttribute('role') !== 'presentation') this.sendLastMessage();
|
||||||
if (isWritingText) this.sendLastMessage();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// checks if the input textarea is focused or not, and if not - moves focus there
|
// checks if the input textarea is focused or not, and if not - moves focus there
|
||||||
|
Loading…
Reference in New Issue
Block a user