Skip to content

Commit 8624cd5

Browse files
committed
Revert "fix: Remove redundant disabled flag on wrapper div without teleport (#762)"
This reverts commit e064581.
1 parent e064581 commit 8624cd5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/VueDatePicker/VueDatePicker.vue

+4-6
Original file line numberDiff line numberDiff line change
@@ -240,12 +240,10 @@
240240
241241
const theme = computed(() => (props.dark ? 'dp__theme_dark' : 'dp__theme_light'));
242242
const teleportProps = computed(() => {
243-
return props.teleport
244-
? {
245-
to: typeof props.teleport === 'boolean' ? 'body' : props.teleport,
246-
disabled: !props.teleport || defaultedInline.value.enabled,
247-
}
248-
: {};
243+
return {
244+
to: typeof props.teleport === 'boolean' ? 'body' : props.teleport,
245+
disabled: !props.teleport || defaultedInline.value.enabled,
246+
};
249247
});
250248
const menuWrapProps = computed(() => {
251249
return { class: 'dp__outer_menu_wrap' };

0 commit comments

Comments
 (0)