Skip to content

Commit

Permalink
fix(QDate): transitions not working correctly #17183
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed May 13, 2024
1 parent 4207741 commit 42d7d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/date/QDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 42d7d19

Please sign in to comment.