QColor spectrum view is broken in RTL #17269
Labels
area/components
bug/2-confirmed
We have reproduce the problem and confirmed that this is a bug.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
Bug
When using QColor with a
$q.lang
which isRTL
, the color spectrum stays the same, but the calculation of the color is transformed.Suggestion
As an RTL user, I don't think the spectrum should be reversed for RTL (in Word it's the same for LTR/RTL).
To avoid BC, maybe add an option to disable RTL for this component, through
dir="ltr"
or a specific prop.What did you expect to happen?
When selecting a color on the spectrum, show the correct color.
Reproduction URL
https://codepen.io/tamirvs/pen/LYojXbj
How to reproduce?
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: