Resolve issue with rendering popups across multiple active besService instances
This commit is contained in:
parent
82a86725eb
commit
abfbfa7e79
10
service.js
10
service.js
@ -797,4 +797,14 @@ window.onresize = () => {
|
||||
})
|
||||
}
|
||||
|
||||
window.onscroll = () => {
|
||||
besServices.forEach(service => {
|
||||
service.scrollPanel.style.top = -service.hostElement.scrollTop + 'px'
|
||||
service.offsetTop = service.hostElement.scrollTop
|
||||
setTimeout(() => {
|
||||
service.repositionMistakes()
|
||||
}, 100)
|
||||
})
|
||||
}
|
||||
|
||||
customElements.define('bes-popup-el', BesPopupEl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user