From 42d7d196dfbf8550645e072c1b277e5ebf9fdf02 Mon Sep 17 00:00:00 2001 From: Razvan Stoenescu Date: Mon, 13 May 2024 11:25:19 +0300 Subject: [PATCH] fix(QDate): transitions not working correctly #17183 --- ui/src/components/date/QDate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/date/QDate.js b/ui/src/components/date/QDate.js index c076c2238ec..f2132137d57 100644 --- a/ui/src/components/date/QDate.js +++ b/ui/src/components/date/QDate.js @@ -937,7 +937,7 @@ export default createComponent({ const newHash = year + '/' + pad(month) + '/01' if (newHash !== viewModel.value.dateHash) { - monthDirection.value = (viewModel.value.dateHash < newHash) === direction.value + monthDirection.value = (viewModel.value.dateHash < newHash) === ($q.lang.rtl !== true) ? 'left' : 'right' if (year !== viewModel.value.year) { yearDirection.value = monthDirection.value }