We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df10baf commit a5e60b1Copy full SHA for a5e60b1
1 file changed
app/components/Package/ManagerSelect.vue
@@ -1,6 +1,15 @@
1
<script setup lang="ts">
2
import { onClickOutside, useEventListener } from '@vueuse/core'
3
4
+withDefaults(
5
+ defineProps<{
6
+ teleport?: boolean
7
+ }>(),
8
+ {
9
+ teleport: true,
10
+ },
11
+)
12
+
13
const selectedPM = useSelectedPackageManager()
14
15
const listRef = useTemplateRef('listRef')
@@ -121,7 +130,7 @@ function handleKeydown(event: KeyboardEvent) {
121
130
</button>
122
131
123
132
<!-- Dropdown menu (teleported to body to avoid clipping) -->
124
- <Teleport to="body">
133
+ <Teleport to="body" :disabled="!teleport">
125
134
<Transition
126
135
:enter-active-class="prefersReducedMotion ? '' : 'transition-opacity duration-150'"
127
136
:enter-from-class="prefersReducedMotion ? '' : 'opacity-0'"
0 commit comments