question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

text-start and text-end have wrong behavior in RTL

See original GitHub issue

Prerequisites

Describe the issue

in RTL pages, the text-start and text-end classes ignores RTL and text-start is left as text-end is right aligned.

Reduced test cases

<html dir="rtl" lang="fa">

<body class="text-center">
  <h1>Hello BS</h1>
  <p class="text-start">This paragraph used to go right</p>
  <p class="text-end">This paragraph used to go left</p>
</body>

</html>

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Firefox

What version of Bootstrap are you using?

5.1.3

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
florianlacreusecommented, Mar 22, 2022

Everything looks good with these reduced test cases:

1reaction
beyzad-asacommented, Mar 23, 2022

Oh stupid me. was using ltr css. sorry and good luck

Read more comments on GitHub >

github_iconTop Results From Across the Web

RtlDetector.java - android Git repositories
+ "If you have started adding RTL attributes, but have not yet finished the ". + "migration, you can set the attribute to...
Read more >
Techniques for WCAG 2.0 -- Diff-marked Version - W3C
#1 is false. If this is a sufficient technique for a success criterion, failing this test procedure does not necessarily mean that the ......
Read more >
View - Android Developers
This behavior is contrasted to that of the pre-3.0 Animation -based classes, ... If false, no state will be saved for this view...
Read more >
Text Fragments - GitHub Pages
Parsing the fragment directive. A ParsedTextDirective is a struct that consists of four strings: textStart , textEnd , prefix , and ...
Read more >
How to center icon and text in a android button with width set ...
This is a good idea, but a bad solution. You can achieve the same thing with just one TextView using the drawableLeft-attribute. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found