-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QDrawer RTL Bug #17409
Comments
Hi @AbdElRahmanAshraf99! 👋 It looks like you provided an invalid or unsupported reproduction URL. Without a proper reproduction, your issue will have to get closed. Thank you for your collaboration. 👏 |
QDrawer transition translateX animations comes oppositely in RTL
Hello, Please make sure that you have fully read (and applied the necessary steps) from https://quasar.dev/options/rtl-support
I have just verified and everything works correctly. However, if you still think there is a problem, please provide a stackblitz/codesandbox/repo with the reproduction (links above). Otherwise there is nothing actionable from our side. |
Yes, I setup it correctly and all components work correctly in RTL mode |
Just to be clear. Do you still have the QDrawer bug? |
Yes |
Someone please provide a codesandbox/repo to reproduce the issue. Thanks. |
template:
quasar.config.js:
postcss.config.cjs module.exports = {
], |
EDIT:
require("postcss-rtlcss")({
/* opts */
source: "rtl", // <<<--- here
})
|
thank you now work correctly |
What happened?
There is an issue when using QDrawer in RTL pages
Those changes will help to solve the problem
The problem is when using QDrawer in RTL pages, transition comes oppositely
Which means when using QDrawer side="left", css will be transition : translateX(300)
That means that it will be come from center of page to left (inside to outside) and right side also works like that and this is the problem.
What did you expect to happen?
I forked the project and solve it in this comment solution
Fixes show that when I using RTL don't check for side it will be get a correct result for animations and positioning.
Reproduction URL
https://google.com
How to reproduce?
I discussed it before.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
No response
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: