# Casella di suggerimento menzione sul sito web rtl nel posto sbagliato

**URL:** <https://meta.discourse.org/t/mention-suggestion-list-box-in-the-rtl-website-in-wrong-place/266763>\
**Category:** Bug\
**Created:** [31 Maggio 2023, 12:36pm UTC](https://meta.discourse.org/t/mention-suggestion-list-box-in-the-rtl-website-in-wrong-place/266763 "2023-05-31T12:36:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [2 Giugno 2023, 1:07am UTC](https://meta.discourse.org/t/mention-suggestion-list-box-in-the-rtl-website-in-wrong-place/266763/4 "2023-06-02T01:07:02Z")

</div>

Grazie per aver segnalato questo bug @hosna! È effettivamente una regressione recente e questo PR lo risolverà:

> <https://github.com/discourse/discourse/pull/21905>
>
> Meta topic: https://meta.discourse.org/t/mention-suggestion-list-box-in-the-rtl-…website-in-wrong-place/266763?u=osama.
> 
> Our autocomplete box doesn't currently take into account the user's locale and places itself off-screen when using an RTL locale. This PR changes the placement logic for the autocomplete box when an RTL locale is used to make sure that:
> 
> 1. the autocomplete box's right side is near and to the left of the caret 
> 2. the autocomplete box doesn't go outside the composer's left side
> 
> Before:
> 
> \<img src="https://github.com/discourse/discourse/assets/17474474/71b375b3-6f05-49b5-a4ee-910a96010b53" width=500\>
> 
> After:
> 
> \<img src="https://github.com/discourse/discourse/assets/17474474/3209d8a0-16b4-45a1-953d-355c73ce3224" width=500\>
> 
> \<img src="https://github.com/discourse/discourse/assets/17474474/92215653-bdf0-49cd-b38d-13301c2a7adb" width=500\>
> 
> \<img src="https://github.com/discourse/discourse/assets/17474474/f4d157d8-6355-457d-9328-35620c450f6c" width=500\>

---

_[View the full topic](https://meta.discourse.org/t/mention-suggestion-list-box-in-the-rtl-website-in-wrong-place/266763)._
