Vuepic / vue-datepicker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
1.46k stars 145 forks source link

text-input openMenue option prevents from the calendar closing on click #905

Closed fanckush closed 2 months ago

fanckush commented 3 months ago

Describe the bug watch the clip, clicking on the calendar icon on the left would normally toggle the calendar but if you have "text-input" prop then it doesn't close it

Repro: the documentation example https://vue3datepicker.com/props/modes/#text-input Screenshots

https://github.com/Vuepic/vue-datepicker/assets/6278713/ea69b99d-7272-4ff5-a654-fc518c1bce4c

notice the inconsistency in behavior between the two calendars