Skip to content

Commit 9adc56b

Browse files
author
yaroslav8765
committed
fix: fix incorrect position of the dropdown without teleportToBody prop
1 parent c4c1486 commit 9adc56b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adminforth/spa/src/afcl/Select.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,10 @@ async function inputClick() {
184184
search.value = '';
185185
}
186186
187-
await nextTick();
188-
handleScroll();
187+
if(!props.teleportToBody){
188+
await nextTick();
189+
handleScroll();
190+
}
189191
}
190192
191193
watch(

0 commit comments

Comments
 (0)