diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/text-draw-listener/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/text-draw-listener/component.jsx index 86dbcdd7f2..eeab965f88 100755 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/text-draw-listener/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/text-draw-listener/component.jsx @@ -114,9 +114,8 @@ export default class TextDrawListener extends Component { this.sendLastMessage(); } - handleClick() { - const { isWritingText } = this.state; - if (isWritingText) this.sendLastMessage(); + handleClick(e) { + if (e.srcElement.getAttribute('role') !== 'presentation') this.sendLastMessage(); } // checks if the input textarea is focused or not, and if not - moves focus there