nathanreyes / v-calendar

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

DatePicker: Incorrect dropdown arrow position when repositioning #1456

Open mrleblanc101 opened 6 months ago

mrleblanc101 commented 6 months ago

Currently, if the popper change position because the window is resized, the margin and dropdown arrow won't update. This is because the style use the static class direction-bottom instead of the popper attribute data-popper-placement="bottom-start". 2024-03-08 11 02 13

mrleblanc101 commented 6 months ago

This is the expected result: 2024-03-08 11 07 58 I have manually modified the CSS to change instance of direction-bottom and direction-top to data-popper-placement="bottom-start" and data-popper-placement="top-start", and it seem to work correctly.