mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-01 09:24:59 +08:00
(fix) At click to relationship number in INV table item card is opened from the top [SCI-9927] (#6950)
This commit is contained in:
parent
320f2d2801
commit
e323f329e5
1 changed files with 3 additions and 1 deletions
|
@ -200,7 +200,9 @@ export default {
|
|||
});
|
||||
} else {
|
||||
// scroll to the start of a section's threshold, adjusted for the center thumb value (true center)
|
||||
scrollableArea.scrollTop = foundThreshold.from - this.centerOfScrollThumb;
|
||||
this.$nextTick(() => {
|
||||
scrollableArea.scrollTop = foundThreshold.from - this.centerOfScrollThumb;
|
||||
});
|
||||
}
|
||||
this.flashTitleColor(domElToScrollTo);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue