scroller: account for border of hv

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-04 20:08:46 -07:00
parent d465f996e2
commit 29d1e92421
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ export default defineComponent({
const extraY = this.recyclerBefore?.clientHeight ?? 0;
// Exclude hover cursor height
this.topPadding = (<HTMLSpanElement>this.$refs.hoverCursor)?.clientHeight ?? 0;
this.topPadding = (<HTMLSpanElement>this.$refs.hoverCursor)?.offsetHeight ?? 0;
// Start with the first tick. Walk over all rows counting the
// y position. When you hit a row with the tick, update y and