When I move the mouse over the datepicker, the calender pops up, which is annoying. I want the calender to popup only on click. I didn't find anything documented.
Add this :popover="{ placement: 'bottom', visibility: 'click' }"
Thanks that worked. I used only visibility because I don't want to force
the calendar to show on bottom only.
On Wed, May 20, 2020 at 1:58 AM Nishil notifications@github.com wrote:
Add this :popover="{ placement: 'bottom', visibility: 'click' }"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nathanreyes/v-calendar/issues/579#issuecomment-631064100,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAE7O7RXG4PQDWFL2CSLU3RSLTWNANCNFSM4M54GB6A
.
I used only visibility because I don't want to force the calendar to show on bottom only.
AFAIK v-calendar is using popper for placement of popover, so it should switch placement to top by itself if there is not enough room at the bottom. placement: bottom is simply initial direction.
Most helpful comment
Add this
:popover="{ placement: 'bottom', visibility: 'click' }"