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:
parent
ba9a18705e
commit
4467fab2a8
@ -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`
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user