Vuepic / vue-datepicker

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

Recent change breaks RTL calendar #943

Closed talyash closed 1 month ago

talyash commented 1 month ago

Describe the bug A change https://github.com/Vuepic/vue-datepicker/commit/26a8dfe5d1681558c78333cc70b4059e937527c6 was made to fix displaying a LTR calendar in a RTL site, however sometimes a RTL calendar is the desired behavior.

Expected behavior When desired, calendar should be displayed right-to-left. image

Suggestion Could a CSS variable be used instead of hard-coding direction: ltr;? For example direction: var(--dp-dir, ltr);.