# Select-kit problem in RTL

**URL:** <https://meta.discourse.org/t/select-kit-problem-in-rtl/163576>\
**Category:** Bug\
**Created:** [September 10, 2020, 5:39am UTC](https://meta.discourse.org/t/select-kit-problem-in-rtl/163576 "2020-09-10T05:39:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nildarar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nildarar/32/331927_2.png) [@nildarar](https://meta.discourse.org/u/nildarar)\
**Post date:** [September 10, 2020, 5:39am UTC](https://meta.discourse.org/t/select-kit-problem-in-rtl/163576/1 "2020-09-10T05:39:41Z")

</div>

The list opened in Select-Kit is not displayed correctly in RTL.

**Current layout:**

```
+--------+
| target |
+-------------+
| |
| popper |
| |
+-------------+

```

**Expected layout:**

```
     +--------+
     | target |
+-------------+
| |
| popper |
| |
+-------------+

```

I checked the code and saw that the settings are only for LTR.

> <https://github.com/discourse/discourse/blob/52672b9eabccb1184d85dc7f08062d5a7c18cb73/app/assets/javascripts/select-kit/addon/components/select-kit.js#L272>

And used here:

> <https://github.com/discourse/discourse/blob/52672b9eabccb1184d85dc7f08062d5a7c18cb73/app/assets/javascripts/select-kit/addon/components/select-kit.js#L779>

I tried to solve the problem by adding some CSS codes, but unfortunately, this causes more problems. I think if we use `placement: "bottom-end"` when the page is RTL, the problem will be solved.

Also, this has caused the opened poppers to be displayed off-screen on some mobile phones. If you need, I can send you some screenshots of the problem in a pm.

---

_[View the full topic](https://meta.discourse.org/t/select-kit-problem-in-rtl/163576)._
