bfg-common 1.5.528 → 1.5.529
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.
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div class="relative flex">
|
|
3
3
|
<div
|
|
4
4
|
:id="outerWrapper"
|
|
5
|
+
:style="{'--z-index-header-shift': props.zIndexHeaderShift}"
|
|
5
6
|
:class="[
|
|
6
7
|
'datagrid-outer-wrapper',
|
|
7
8
|
{
|
|
@@ -578,6 +579,7 @@ const props = withDefaults(
|
|
|
578
579
|
isMainFilter?: boolean
|
|
579
580
|
mainFilterPlaceholder?: string
|
|
580
581
|
isShowExport?: boolean
|
|
582
|
+
zIndexHeaderShift?: number // Нужен тогда когда в таблице есть еще таблица и headers налезают друг на друга
|
|
581
583
|
}>(),
|
|
582
584
|
{
|
|
583
585
|
columnKeys: undefined,
|
|
@@ -589,6 +591,7 @@ const props = withDefaults(
|
|
|
589
591
|
withInfo: false,
|
|
590
592
|
rowAttributeIdName: 'data-id',
|
|
591
593
|
isShowExport: false,
|
|
594
|
+
zIndexHeaderShift: 1,
|
|
592
595
|
}
|
|
593
596
|
)
|
|
594
597
|
|
|
@@ -1181,7 +1184,7 @@ onUnmounted(() => {
|
|
|
1181
1184
|
.datagrid-header {
|
|
1182
1185
|
position: sticky;
|
|
1183
1186
|
top: 0;
|
|
1184
|
-
z-index: calc(var(--z-sticky) +
|
|
1187
|
+
z-index: calc(var(--z-sticky) + var(--z-index-header-shift));
|
|
1185
1188
|
width: auto;
|
|
1186
1189
|
|
|
1187
1190
|
.datagrid-row-scrollable {
|