Put back horizontal scrolling option again
DOM document is 2-dimensional! What applies to one dimension, may apply to another too. Never assume we're scrolling texts vertically only.
This commit is contained in:
@@ -319,7 +319,11 @@ class BesService {
|
|||||||
this.statusDiv.style.left = `${
|
this.statusDiv.style.left = `${
|
||||||
rect.right - parentRect.left - 40 - scrollbarWidth
|
rect.right - parentRect.left - 40 - scrollbarWidth
|
||||||
}px`
|
}px`
|
||||||
this.statusDiv.style.top = `${rect.bottom - parentRect.top - 30}px`
|
const scrollbarHeight =
|
||||||
|
this.hostElement.offsetHeight - this.hostElement.clientHeight
|
||||||
|
this.statusDiv.style.top = `${
|
||||||
|
rect.bottom - parentRect.top - 30 - scrollbarHeight
|
||||||
|
}px`
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user