charliekassel / vuejs-datepicker

A simple Vue.js datepicker component. Supports disabling of dates, inline mode, translations
MIT License
2.61k stars 730 forks source link

Added openPos property resolve issue 'Set opening direction? #347' #874

Open moriarty83 opened 1 year ago

moriarty83 commented 1 year ago

This update adds functionality to allow the user to pass an openPos prop of 'left' or 'right' (default of 'left') to determine of the calendar originates from the left or right side of the input element. This should help to resolve issue #347 which can cause the calendar to exceed the boundaries of it's parent div if it is close to right edge of the div/screen.

Specifics:

Nate603 commented 1 year ago

seems like a nice feature to have, why no merge xD