@itilite/iui-user-management 0.4.102 → 0.4.103
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.css +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -7634,11 +7634,16 @@ var UserList = function UserList(_ref) {
|
|
|
7634
7634
|
overlayMenu = _React$useState5[0],
|
|
7635
7635
|
setOverlayMenu = _React$useState5[1];
|
|
7636
7636
|
useScrollPosition.useScrollPosition(function (_ref2) {
|
|
7637
|
-
var
|
|
7638
|
-
|
|
7639
|
-
|
|
7637
|
+
var prevPos = _ref2.prevPos,
|
|
7638
|
+
currPos = _ref2.currPos;
|
|
7639
|
+
if (prevPos.y - currPos.y > 0) {
|
|
7640
|
+
if (currPos.y < -130) {
|
|
7641
|
+
setOverlayMenu(true);
|
|
7642
|
+
}
|
|
7640
7643
|
} else {
|
|
7641
|
-
|
|
7644
|
+
if (currPos.y > -190) {
|
|
7645
|
+
setOverlayMenu(false);
|
|
7646
|
+
}
|
|
7642
7647
|
}
|
|
7643
7648
|
}, [overlayMenu]);
|
|
7644
7649
|
var scrollTo = function scrollTo(id) {
|