V-calendar: trigger only on click not on mouseover

Created on 11 May 2020  Â·  3Comments  Â·  Source: nathanreyes/v-calendar

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.

Most helpful comment

Add this :popover="{ placement: 'bottom', visibility: 'click' }"

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mika76 picture mika76  Â·  3Comments

jeffster9 picture jeffster9  Â·  3Comments

hanhtv204 picture hanhtv204  Â·  4Comments

redraw picture redraw  Â·  3Comments

thfontaine picture thfontaine  Â·  3Comments