File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 55
55
<template >
56
56
<teleport to =" body" >
57
57
<transition name =" backdrop" >
58
- <div v-if =" modelValue" class =" hive-dialog" ref =" dialogRef" :tabindex = " 0 " @keydown.esc =" handleKeydown" >
58
+ <div v-if =" modelValue" class =" hive-dialog" ref =" dialogRef" @keydown.esc =" handleKeydown" >
59
59
<div
60
60
class =" hive-dialog__mask"
61
61
:style =" { backgroundColor: maskBackground, zIndex: zIndex }"
Original file line number Diff line number Diff line change @@ -109,10 +109,6 @@ onMounted(() => {
109
109
});
110
110
111
111
defineExpose ({ current });
112
-
113
- const onScroll = () => {
114
- searchRef .value ?.forceFocus ();
115
- };
116
112
</script >
117
113
118
114
<template >
@@ -152,7 +148,6 @@ const onScroll = () => {
152
148
:style =" {
153
149
maxHeight: menuHeight,
154
150
}"
155
- @scroll =" onScroll"
156
151
>
157
152
<div
158
153
v-for =" (item, i) in filteredOptions"
@@ -176,8 +171,7 @@ const onScroll = () => {
176
171
177
172
<style scoped lang="scss">
178
173
@import ' @/assets/variables.scss' ;
179
-
180
- $drop-down-z_menu : 1 ;
174
+ $drop-down-z_menu : 10000 ;
181
175
$border-width : 1px ;
182
176
$drop-down-border : $border-width solid var (--border , $border );
183
177
$drop-down-selected_background : var (--bg-selected , $bg-selected );
Original file line number Diff line number Diff line change @@ -803,6 +803,8 @@ const optionsObject1 = {
803
803
<!-- <hive-drop-down v-model="dropdown" :options="optionsObject" :style="{ width: '300px' }" menu-width="0px" /> -->
804
804
<!-- <hive-drop-down v-model="dd3" :options="yearList" title-field="title" value-field="value" /> -->
805
805
<!-- <hive-drop-down v-model="mm" :options="yearList" title-field="title" value-field="id" /> -->
806
+ <hive-drop-down v-model =" dd4" :options =" optionsArray" title-field =" title" value-field =" value" />
807
+
806
808
<hive-button />
807
809
</div >
808
810
You can’t perform that action at this time.
0 commit comments