From dca6ecd28a01ddef5db36c08c704a60279ffcc01 Mon Sep 17 00:00:00 2001 From: Aljaz Grilc Date: Tue, 26 Mar 2024 10:35:46 +0100 Subject: [PATCH] Eliminate bug in handleTAClick function to improve stability --- service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.js b/service.js index a8ff487..80c819b 100644 --- a/service.js +++ b/service.js @@ -753,9 +753,9 @@ class BesTAService { handleTAClick(e) { //TODO: Consider adding some kind of proofing? - this.textAreaEl.style.display = 'none' + this.textAreaEl.style.visibility = 'hidden' const deepestElement = document.elementFromPoint(e.clientX, e.clientY) - this.textAreaEl.style.display = '' + this.textAreaEl.style.visibility = 'visible' const clickEvent = new CustomEvent('click', { detail: {