@uncinc/uncinc-react-kitchen-sink 2.25.0 → 2.25.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.
|
@@ -41,6 +41,7 @@ var NavigationScroll = function NavigationScroll(props) {
|
|
|
41
41
|
return element.offsetHeight - deductHeight;
|
|
42
42
|
};
|
|
43
43
|
var handleScroll = function handleScroll() {
|
|
44
|
+
if (!node.current) return;
|
|
44
45
|
var scrollPos = getScrollPos(window);
|
|
45
46
|
var elementHeight = getElementHeight(node.current);
|
|
46
47
|
var newPos = 0;
|