nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.32k stars 840 forks source link

Mouse enter and mouse leave on input causing it's value to revert. #1382

Open billydcc opened 9 months ago

billydcc commented 9 months ago

When using the date-picker component with the isRequired property set to true and the updateOnInput property set to false, we are seeing strange behaviour when interacting with the input used as the default template of the component.

Replication steps:

Can also be replicated by having the mouse pointer outside of the input, modifying the input and then moving the mouse inside the input.

I can see that the update:pages event is being fired by the Calendar component at the point at which the mouse enters/leaves the input, however that may be triggering as a result of the date changing rather than vice versa.

nathanreyes commented 8 months ago

Hi @billydcc. Can you provide the version of the plugin you are using?

billydcc commented 8 months ago

Sure it’s 3.0.3Sent from my iPhoneOn 13 Oct 2023, at 12:49, Nathan Reyes @.***> wrote: Hi @billydcc. Can you provide the version of the plugin you are using?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

nathanreyes commented 8 months ago

When you have a moment can you verify that the bug still exists with 3.1.2? There have been some new bugs patched recently.

billydcc commented 8 months ago

Apologies for delay. I've upgraded to 3.1.2 and the bug remains...

https://github.com/nathanreyes/v-calendar/assets/75840344/23658354-bff3-4373-92e0-d8cfef573b61