@sis-cc/dotstatsuite-visions 7.12.0 → 7.12.1

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.
@@ -100,7 +100,7 @@ var ScopeList = function ScopeList(props) {
100
100
  if (scrollEl) {
101
101
  setScrollTop(0);
102
102
  }
103
- }, [list]);
103
+ }, [R.prop('id', R.last(currentItem || []))]);
104
104
 
105
105
  useEffect(function () {
106
106
  var current = ref.current;
@@ -153,7 +153,7 @@ var ScopeList = function ScopeList(props) {
153
153
  if (scrollEl) {
154
154
  setScrollTop(0);
155
155
  }
156
- }, [list]);
156
+ }, [R.prop('id', R.last(currentItem || []))]);
157
157
 
158
158
  (0, _react.useEffect)(function () {
159
159
  var current = ref.current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-visions",
3
- "version": "7.12.0",
3
+ "version": "7.12.1",
4
4
  "description": "Library of visual components",
5
5
  "author": "OECD",
6
6
  "homepage": "https://visions-qa.siscc.org/#o",