Closed talyash closed 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.
Suggestion Could a CSS variable be used instead of hard-coding direction: ltr;? For example direction: var(--dp-dir, ltr);.
direction: ltr;
direction: var(--dp-dir, ltr);
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](https://github.com/user-attachments/assets/bb7209b5-b8f4-4ecd-ad53-a9c9e5a9e88f)
Suggestion Could a CSS variable be used instead of hard-coding
direction: ltr;
? For exampledirection: var(--dp-dir, ltr);
.