Skip to content
This repository was archived by the owner on Apr 17, 2022. It is now read-only.

Commit 982f82a

Browse files
committed
fix: Inline causing page to scroll
1 parent e1c6857 commit 982f82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vue3DatePicker/components/DatepickerMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
nextTick(() => emit('dpOpen'));
196196
}
197197
const menu = unrefElement(dpMenuRef);
198-
if (menu && !props.textInput) {
198+
if (menu && !props.textInput && !props.inline) {
199199
menu.focus();
200200
menu.addEventListener('pointerdown', (e) => {
201201
e.stopImmediatePropagation();

0 commit comments

Comments
 (0)