@eturnity/eturnity_reusable_components 9.25.14 → 9.25.15
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
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
.replace('${index}', index)
|
|
36
36
|
"
|
|
37
37
|
:dropdown-auto-close="false"
|
|
38
|
+
:is-fixed-dropdown-position="true"
|
|
38
39
|
select-height="40px"
|
|
39
40
|
@input-change="
|
|
40
41
|
onSelectFilter({
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
"
|
|
80
81
|
:disabled="!item.column"
|
|
81
82
|
:dropdown-auto-close="false"
|
|
83
|
+
:is-fixed-dropdown-position="true"
|
|
82
84
|
select-height="40px"
|
|
83
85
|
@input-change="
|
|
84
86
|
onSelectFilter({
|
|
@@ -165,6 +167,7 @@
|
|
|
165
167
|
"
|
|
166
168
|
:disabled="!item.column || !item.constraint"
|
|
167
169
|
:dropdown-auto-close="false"
|
|
170
|
+
:is-fixed-dropdown-position="true"
|
|
168
171
|
:is-searchable="false"
|
|
169
172
|
option-width="max-content"
|
|
170
173
|
select-height="40px"
|
|
@@ -262,6 +265,7 @@
|
|
|
262
265
|
.replace('${index}', 0)
|
|
263
266
|
"
|
|
264
267
|
:dropdown-auto-close="false"
|
|
268
|
+
:is-fixed-dropdown-position="true"
|
|
265
269
|
select-height="40px"
|
|
266
270
|
@input-change="
|
|
267
271
|
onSelectFilter({
|
|
@@ -300,6 +304,7 @@
|
|
|
300
304
|
"
|
|
301
305
|
:disabled="true"
|
|
302
306
|
:dropdown-auto-close="false"
|
|
307
|
+
:is-fixed-dropdown-position="true"
|
|
303
308
|
select-height="40px"
|
|
304
309
|
>
|
|
305
310
|
<template #selector>
|
|
@@ -322,6 +327,7 @@
|
|
|
322
327
|
"
|
|
323
328
|
:disabled="true"
|
|
324
329
|
:dropdown-auto-close="false"
|
|
330
|
+
:is-fixed-dropdown-position="true"
|
|
325
331
|
select-height="40px"
|
|
326
332
|
>
|
|
327
333
|
<template #selector>
|
|
@@ -1424,11 +1424,14 @@
|
|
|
1424
1424
|
},
|
|
1425
1425
|
observeSelectWidth() {
|
|
1426
1426
|
if (!this.$refs.select) return
|
|
1427
|
-
this.selectResizeObserver = new ResizeObserver(() =>
|
|
1427
|
+
this.selectResizeObserver = new ResizeObserver(() => {
|
|
1428
1428
|
// eslint-disable-next-line vue/valid-next-tick
|
|
1429
|
-
this.$nextTick(() =>
|
|
1430
|
-
|
|
1431
|
-
|
|
1429
|
+
this.$nextTick(() => {
|
|
1430
|
+
this.handleSetDropdownOffet()
|
|
1431
|
+
if (this.isDropdownOpen) this.getDropdownPosition()
|
|
1432
|
+
})
|
|
1433
|
+
})
|
|
1434
|
+
this.selectResizeObserver.observe(this.$refs.select.$el)
|
|
1432
1435
|
},
|
|
1433
1436
|
async getDropdownWidth() {
|
|
1434
1437
|
if (!this.$refs.select) return
|