@eeacms/volto-arcgis-block 0.1.328 → 0.1.329

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/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [0.1.329](https://github.com/eea/volto-arcgis-block/compare/0.1.328...0.1.329) - 14 January 2025
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-270893 (bug): Fixed scroll positioning of checked dataset in dataviewer when coming from dataset catalogue result [Unai Bolivar - [`8a2cf7f`](https://github.com/eea/volto-arcgis-block/commit/8a2cf7f3184b81c653d3ba420921d481bc5619fa)]
7
12
  ### [0.1.328](https://github.com/eea/volto-arcgis-block/compare/0.1.327...0.1.328) - 9 January 2025
8
13
 
9
14
  ### [0.1.327](https://github.com/eea/volto-arcgis-block/compare/0.1.326...0.1.327) - 8 January 2025
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.328",
3
+ "version": "0.1.329",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -743,11 +743,11 @@ class MenuWidget extends React.Component {
743
743
  // and ensure that the component is rendered again
744
744
  this.setState({ showMapMenu: true });
745
745
  }
746
- if (this.loadFirst && this.container.current) {
747
- this.checkUrl();
748
- this.loadFirst = false;
749
- this.zoomTooltips();
750
- }
746
+ // if (this.loadFirst && this.container.current) {
747
+ this.checkUrl();
748
+ // this.loadFirst = false;
749
+ this.zoomTooltips();
750
+ // }
751
751
 
752
752
  let authToken = this.getAuthToken();
753
753
  let timeSliderTag = sessionStorage.getItem('timeSliderTag');
@@ -1060,7 +1060,11 @@ class MenuWidget extends React.Component {
1060
1060
  scrollPosition = mapMenu.offsetTop;
1061
1061
  }
1062
1062
  }
1063
- document.querySelector('.panels').scrollTop = scrollPosition;
1063
+ setTimeout(() => {
1064
+ document.querySelector(
1065
+ 'div#paneles.panels',
1066
+ ).scrollTop = scrollPosition;
1067
+ }, 1000);
1064
1068
  }
1065
1069
  }
1066
1070
  }