Fix popup visibility issue in CKEditor
This commit is contained in:
parent
6aaa8c4472
commit
37855374bb
@ -902,6 +902,7 @@ class BesPopupEl extends HTMLElement {
|
|||||||
}
|
}
|
||||||
:host(.show){
|
:host(.show){
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
.popup-text {
|
.popup-text {
|
||||||
max-width: 160px;
|
max-width: 160px;
|
||||||
@ -977,7 +978,6 @@ class BesPopupEl extends HTMLElement {
|
|||||||
this.style.position = 'fixed'
|
this.style.position = 'fixed'
|
||||||
this.style.left = `${x}px`
|
this.style.left = `${x}px`
|
||||||
this.style.top = `${y}px`
|
this.style.top = `${y}px`
|
||||||
this.style.display = 'block'
|
|
||||||
|
|
||||||
const viewportWidth = window.innerWidth
|
const viewportWidth = window.innerWidth
|
||||||
const viewportHeight = window.innerHeight
|
const viewportHeight = window.innerHeight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user