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

Commit eb3fd98

Browse files
committed
fix: Inline positioning on autoPosition enabled
1 parent 2bb0aef commit eb3fd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vue3DatePicker/Vue3DatePicker.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
});
171171
172172
onUnmounted(() => {
173-
if (props.inline) {
173+
if (!props.inline) {
174174
window.removeEventListener('scroll', onScroll);
175175
window.removeEventListener('resize', onResize);
176176
}

0 commit comments

Comments
 (0)