Resolve issue with rendering popups across multiple active besService instances
This commit is contained in:
		
							
								
								
									
										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) | customElements.define('bes-popup-el', BesPopupEl) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user