Eliminate bug in handleTAClick function to improve stability

This commit is contained in:
Aljaž Grilc 2024-03-26 10:35:46 +01:00
parent 51c19451fb
commit dca6ecd28a

View File

@ -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: {