indicator-ui 0.0.325 → 0.0.326

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
@@ -42573,7 +42573,7 @@ function useSmartScroll() {
42573
42573
  target.removeEventListener('scroll', scrollListener);
42574
42574
  }
42575
42575
  };
42576
- }, [options]);
42576
+ }, [options, callbacks]);
42577
42577
  var getScrollSign = function getScrollSign() {
42578
42578
  var target = ref.current;
42579
42579
  if (target === null) {
@@ -42608,7 +42608,7 @@ function useSmartScroll() {
42608
42608
  }
42609
42609
  if (topAbs === 0) {
42610
42610
  return 'in-start';
42611
- } else if (topAbs === scrollHeight) {
42611
+ } else if (topAbs + clientHeight === scrollHeight) {
42612
42612
  return 'in-end';
42613
42613
  }
42614
42614
  return 'in-middle';