mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Keep item pane scroll position after refresh (#5214)
This commit is contained in:
parent
56b4c15de9
commit
97f8d942a0
1 changed files with 2 additions and 0 deletions
|
|
@ -407,6 +407,8 @@
|
|||
if (type == 'itempane') {
|
||||
this.renderCustomSections();
|
||||
}
|
||||
// Keep the scroll position after refresh
|
||||
this._lastScrollTop = this._paneParent.scrollTop;
|
||||
await this.render();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue