nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.

Home Page:https://vcalendar.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attributes aren't responsive for hover Popover effect

TylerWanta opened this issue · comments

If you use the default hover trigger for showing the popovers, the attributes won't be responsive.

Steps to reproduce:

  • Create Calendar with attributes and with hover trigger for Popover.
  • Add a new attribute to a day with an attribute.
  • hover over day

You'll see that the day doesn't include the new attribute.

Seems like the custom Popover directive for CalendarDay isn't being called. Not sure why though

I managed to fix it by just watching the dayPopover object in CalendarDay.vue and manually remove and re add handlers. I forked the repo and created a new package on npm with a fix. v-calendar-tw if anyone is curious or see the pull request if you just want to copy it yourself 3516646