indicator-ui 0.0.332 → 0.0.334

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/dist/index.js CHANGED
@@ -42624,6 +42624,7 @@ function useSmartScroll() {
42624
42624
  });
42625
42625
  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
42626
42626
  saveLastScroll();
42627
+ scrollListener();
42627
42628
  }, []);
42628
42629
  (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useDeepCompareEffect)(function () {
42629
42630
  var target = ref.current;
@@ -42682,7 +42683,7 @@ function useSmartScroll() {
42682
42683
  var end = (scrollHeight - (clientHeight + scrollTopAbs)) / scrollHeight;
42683
42684
  return [start, view, end];
42684
42685
  };
42685
- var scrollListener = function scrollListener(event) {
42686
+ var scrollListener = function scrollListener() {
42686
42687
  if (ref.current) {
42687
42688
  var scrollTop = ref.current.scrollTop;
42688
42689
  var scrollHeight = ref.current.scrollHeight;