From 37855374bb7903c334f015f9d5b6964a6fe22e25 Mon Sep 17 00:00:00 2001 From: Aljaz Grilc Date: Thu, 11 Apr 2024 11:49:04 +0200 Subject: [PATCH] Fix popup visibility issue in CKEditor --- service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.js b/service.js index aa3efd9..5525731 100644 --- a/service.js +++ b/service.js @@ -902,6 +902,7 @@ class BesPopupEl extends HTMLElement { } :host(.show){ z-index: 10; + display: block; } .popup-text { max-width: 160px; @@ -977,7 +978,6 @@ class BesPopupEl extends HTMLElement { this.style.position = 'fixed' this.style.left = `${x}px` this.style.top = `${y}px` - this.style.display = 'block' const viewportWidth = window.innerWidth const viewportHeight = window.innerHeight