Eliminate bug in handleTAClick function to improve stability
This commit is contained in:
parent
51c19451fb
commit
dca6ecd28a
@ -753,9 +753,9 @@ class BesTAService {
|
|||||||
|
|
||||||
handleTAClick(e) {
|
handleTAClick(e) {
|
||||||
//TODO: Consider adding some kind of proofing?
|
//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)
|
const deepestElement = document.elementFromPoint(e.clientX, e.clientY)
|
||||||
this.textAreaEl.style.display = ''
|
this.textAreaEl.style.visibility = 'visible'
|
||||||
|
|
||||||
const clickEvent = new CustomEvent('click', {
|
const clickEvent = new CustomEvent('click', {
|
||||||
detail: {
|
detail: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user