TagSpaces is an offline, open source, document manager with tagging support
trying out scrollTop
Ilian Sapundshiev2036f79eb2a8
diff --git a/app/perspectives/grid-perspective/src/index.js b/app/perspectives/grid-perspective/src/index.jsindex 4b8f24515..68cd57e3b 100644--- a/app/perspectives/grid-perspective/src/index.js+++ b/app/perspectives/grid-perspective/src/index.js@@ -255,6 +255,7 @@ class GridPerspective extends React.Component<Props, State> {isObj(firstSelectedElement) &&!isVisibleOnScreen(firstSelectedElement)) {+ // firstSelectedElement.parentNode.scrollTop = firstSelectedElement.offsetTop - firstSelectedElement.parentNode.offsetTop;firstSelectedElement.scrollIntoView(false);}}