text-start and text-end have wrong behavior in RTL
See original GitHub issuePrerequisites
- I have searched for duplicate or closed issues
- I have validated any HTML to avoid common problems
- I have read the contributing guidelines
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:
- Created a year ago
- Comments:5 (3 by maintainers)
Top 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 >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
Everything looks good with these reduced test cases:
Oh stupid me. was using ltr css. sorry and good luck