Skip to content

Commit 49c3756

Browse files
authored
Merge pull request #288 from devforth/AdminForth/727
fix: fix incorrect position of the dropdown without teleportToBody prop
2 parents 31c62ea + 9adc56b commit 49c3756

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
@@ -186,8 +186,10 @@ async function inputClick() {
186186
search.value = '';
187187
}
188188
189-
await nextTick();
190-
handleScroll();
189+
if(!props.teleportToBody){
190+
await nextTick();
191+
handleScroll();
192+
}
191193
}
192194
193195
watch(

0 commit comments

Comments
 (0)