gramene-search 1.2.94 → 1.2.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gramene-search",
3
- "version": "1.2.94",
3
+ "version": "1.2.95",
4
4
  "description": "search wrapper for gramene",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -193,7 +193,7 @@ const ResultsCmp = props => {
193
193
  const divRef = useRef(null);
194
194
  useEffect(() => {
195
195
  if (v.shouldScroll) {
196
- const navBarHeight=106;
196
+ const navBarHeight=0;
197
197
  const scrollPosition = divRef.current.offsetTop - navBarHeight;
198
198
  window.scrollTo({
199
199
  top: scrollPosition,