indicator-ui 0.0.333 → 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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42624,11 +42624,11 @@ 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;
|
|
42630
42631
|
if (target) {
|
|
42631
|
-
scrollListener();
|
|
42632
42632
|
target.addEventListener('scroll', scrollListener);
|
|
42633
42633
|
}
|
|
42634
42634
|
return function () {
|