Skip to content

Commit a156591

Browse files
committed
fix: Set default value for isMobile prop to undefined
1 parent 85eafc0 commit a156591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/props.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export const PickerBaseProps = {
167167
menuWrapRef: { type: Object as PropType<HTMLElement | null>, default: null },
168168
getInputRect: { type: Function as PropType<() => DOMRect>, default: () => ({}) },
169169
isTextInputDate: { type: Boolean as PropType<boolean>, default: false },
170-
isMobile: { type: Boolean as PropType<boolean>, default: false },
170+
isMobile: { type: Boolean as PropType<boolean>, default: undefined },
171171
};
172172

173173
export type AllPropsType = ExtractPropTypes<typeof AllProps>;

0 commit comments

Comments
 (0)