Select-kit problem in RTL

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.

And used here:

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.

1 Like