Skip to content
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

Float-start/end are mistakenly flipped on RTL CSS with LTR dir #39918

Closed
3 tasks done
superware opened this issue Apr 22, 2024 · 2 comments
Closed
3 tasks done

Float-start/end are mistakenly flipped on RTL CSS with LTR dir #39918

superware opened this issue Apr 22, 2024 · 2 comments

Comments

@superware
Copy link

Prerequisites

Describe the issue

When using the RTL CSS, but without dir="rtl", then float-start floats right and float-end floats left.

Reduced test cases

<html dir="ltr">
<head>
  ...
  <link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.rtl.css" />
  ...
</head>
  ...
  <div>
    <span class="float-end">Float</span>
    <span>Text</span>
  </div>
  ...
</html>

Floats to the left, should float to the right (LTR's end).

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

Windows

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

Chrome

What version of Bootstrap are you using?

v5.3.3

Copy link
Contributor

Hello @superware. Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case on CodePen or StackBlitz and report back with your link, Bootstrap version, and specific browser and Operating System details.

Copy link
Contributor

github-actions bot commented May 8, 2024

As the issue was labeled with awaiting-reply, but there has been no response in 14 days, this issue will be closed. If you have any questions, you can comment/reply.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants