@brandup/ui-dropdown 1.0.45 → 1.0.48
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/package.json +3 -3
- package/source/dropdown.less +9 -4
package/package.json
CHANGED
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"email": "it@brandup.online"
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
|
-
"version": "1.0.
|
|
27
|
+
"version": "1.0.48",
|
|
28
28
|
"main": "source/index.ts",
|
|
29
29
|
"types": "source/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@brandup/ui": "^2.0.9",
|
|
32
32
|
"@brandup/ui-helpers": "^2.0.9",
|
|
33
|
-
"@brandup/ui-input": "^1.0.
|
|
34
|
-
"@brandup/ui-kit": "^1.0.
|
|
33
|
+
"@brandup/ui-input": "^1.0.48",
|
|
34
|
+
"@brandup/ui-kit": "^1.0.48"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"source",
|
package/source/dropdown.less
CHANGED
|
@@ -379,10 +379,6 @@
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
|
|
383
|
-
& body.ui-dropdown-opened {
|
|
384
|
-
overflow: hidden;
|
|
385
|
-
}
|
|
386
382
|
});
|
|
387
383
|
|
|
388
384
|
.adaptive-mobile({
|
|
@@ -410,6 +406,15 @@
|
|
|
410
406
|
});
|
|
411
407
|
}
|
|
412
408
|
|
|
409
|
+
// Пока список раскрыт во весь экран, страница под ним не прокручивается. Правило верхнего уровня:
|
|
410
|
+
// внутри блока .ui-dropdown оно давало селектор `.ui-dropdown body.ui-dropdown-opened`, который
|
|
411
|
+
// не может совпасть — body не бывает потомком дропдауна, и придержать прокрутку было нечем.
|
|
412
|
+
.adaptive-tablet({
|
|
413
|
+
body.ui-dropdown-opened {
|
|
414
|
+
overflow: hidden;
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
|
|
413
418
|
.ui-dropdown-input {
|
|
414
419
|
opacity: 0;
|
|
415
420
|
position: absolute;
|