Skip to content

Commit 49b2f96

Browse files
committed
fix: partial-flow closes the menu mid selection (fixes #936)
1 parent 0d15d39 commit 49b2f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/components/DatePicker/date-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const useDatePicker = (
128128

129129
const autoApply = (): void => {
130130
if (props.autoApply && isFlowLastStep.value) {
131-
emit('auto-apply');
131+
emit('auto-apply', props.partialFlow ? props.flowStep !== props.flow.length : false);
132132
}
133133
};
134134

0 commit comments

Comments
 (0)