Closed videk11 closed 3 years ago
It will be fixed in the next version
Info: This is a click outside directive issue, meaning the method works, just the click event is triggered before.
Temporary fix: if you use @click
add @click.stop="openDatePicker"
or if you don't call open function directly, pass an event
as argument and add event.stopImmediatePropagation()
Hello,
I am trying to use openMenu method on date-picker. When I call it on date-picker ref nothing happens. This is my code:
Template:
<Datepicker ref="datePickerRef" />
Setup:
const datePickerRef = ref(null);
const openDatePicker = () => { datePickerRef.value.openMenu(); };