From 1f4c9e45d08598ca78e8e611bf2d850c14cdbc43 Mon Sep 17 00:00:00 2001 From: Abd El Rahman Ashraf <51829219+AbdElRahmanAshraf99@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:51:57 +0300 Subject: [PATCH] QDrawer RTL Transition Bug QDrawer transition translateX animations comes oppositely in RTL --- ui/src/components/drawer/QDrawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/drawer/QDrawer.js b/ui/src/components/drawer/QDrawer.js index e40ad117c36..c4aebc7df23 100644 --- a/ui/src/components/drawer/QDrawer.js +++ b/ui/src/components/drawer/QDrawer.js @@ -173,7 +173,7 @@ export default createComponent({ const rightSide = computed(() => props.side === 'right') const stateDirection = computed(() => - ($q.lang.rtl === true ? -1 : 1) * (rightSide.value === true ? 1 : -1) + $q.lang.rtl === true ? -1 : rightSide.value === true ? 1 : -1 ) const flagBackdropBg = ref(0)