Weird RTL behavior on some components
See original GitHub issueHello, I wanted to test the RTL mode, and I noticed some weird behavior on some components. for example the QBadge component, in RTL mode there is a conflicting CSS class application :
[dir="rtl"] .q-badge--floating {
left: -3px;
}
[dir="ltr"] .q-badge--floating {
right: -3px;
}
which gives this result :
quasar transforme the “right” property into “left” but to keep both. (https://github.com/quasarframework/quasar/blob/dev/ui/src/components/badge/QBadge.sass)
Thank you very much for your tremendous work .
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Weird behaviour on joining mixed right-to-left ... - Stack Overflow
When you display that string, and the BIDI algorithm has to decide where all the characters go. The first character (ז) is a...
Read more >rtl TextInput multiline weird behavior · Issue #6125 - GitHub
I suggest that when <Admin> receives a theme, it checks if it's a theme object or the result of createMuiTheme (not sure how),...
Read more >Problem with RTL and Circle mode - Discussions - diydrones
Since RTL worked really fine in the maiden flight, I engage RTL. Seems to work, plane is doing it first turn back towards...
Read more >vhdl - Discrepancy between RTL schematic and Behavioral ...
I'm having a strange issue with a simple Vivado (2015.3) VHDL simulation. This code: library ieee; use ieee.std_logic_1164.all; entity pulse is ...
Read more >Building RTL-Aware Web Apps & Websites: Part 1
On the web, as we said earlier, the term Right-To-Left indicates more than just a script for writing. It stands for all facets...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, as I suspected. The css is not meant to be toggled RTL/LTR on a per element basis Please change the language pack in quasar to one that uses RTL, and remove the dir attributes in your html.
yes if you need rtl set by hand you must set it on the
html
tag, and it must be set after quasar initializes (or else it will be changed back to ltr if the lang is ltr)