You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/popover/popover.en.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,13 @@ The close button can be placed in the header or in the top right corner when the
82
82
83
83
<!-- example(popover-close) -->
84
84
85
+
### Layering
86
+
By default, the popover is hidden beneath the horizontal Navbar and Topbar; in other cases, it appears above adjacent elements.
87
+
88
+
To prevent the popover from overlapping a required element during scrolling and instead have it hidden beneath it, adjust its position using a custom z-index or offset parameters.
89
+
90
+
<!-- example(popover-scrolling-and-layering) -->
91
+
85
92
### Recommendations
86
93
87
94
When a short text without interactive elements needs to be shown in a popup, use a [tooltip](/en/components/tooltip).
Copy file name to clipboardExpand all lines: packages/components/select/select.en.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,13 @@ Add `cdk-virtual-scroll-viewport` to your component template to display only vis
142
142
143
143
<!-- example(select-virtual-scroll) -->
144
144
145
+
### Layering
146
+
By default, the dropdown menu is hidden beneath the horizontal Navbar and Topbar; in other cases, it appears above adjacent elements.
147
+
148
+
To prevent the menu from overlapping a required element during scrolling and instead have it hidden beneath it, adjust its position using a custom z-index or offset parameters.
149
+
150
+
<!-- example(select-scrolling-and-layering) -->
151
+
145
152
### Recommendations
146
153
147
154
- If you are using a select without a label, we suggest adding a placeholder to indicate what information the user should select. For example, “Country.”
Copy file name to clipboardExpand all lines: packages/components/select/select.ru.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,13 @@ import { kbqSelectOptionsProvider } from '@koobiq/components/select';
141
141
142
142
<!-- example(select-virtual-scroll) -->
143
143
144
+
### Наслоение
145
+
По умолчанию выпадающее меню скрывается под горизонтальный Navbar и Topbar, в остальных случаях показывается поверх соседних элементов.
146
+
147
+
Чтобы меню не перекрывало нужный вам элемент при прокрутке, а скрывалось под ним, настройте положение через кастомный z-index или параметры смещения.
148
+
149
+
<!-- example(select-scrolling-and-layering) -->
150
+
144
151
### Рекомендации
145
152
146
153
- Если вы используете селект без лейбла, то советуем добавить placeholder для указания, какую информацию пользователь должен выбрать. Например, «Страна».
0 commit comments