# Horizontal scroll bar showing when tagging somebody

**URL:** <https://meta.discourse.org/t/horizontal-scroll-bar-showing-when-tagging-somebody/74064>\
**Category:** UX\
**Created:** [14 november 2017 om 18:50 UTC](https://meta.discourse.org/t/horizontal-scroll-bar-showing-when-tagging-somebody/74064 "2017-11-14T18:50:29Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [16 november 2017 om 04:34 UTC](https://meta.discourse.org/t/horizontal-scroll-bar-showing-when-tagging-somebody/74064/8 "2017-11-16T04:34:12Z")

</div>

An easy fix for this is to add an `id` to the clone div, and then set its left/right position with css instead of with javascript.

```plaintext
clone = $("<div id='caret-clone'><p></p></div>").appendTo("body");

```

```css
#caret-clone {
    left: -7000px; // left will be automatically converted to right in the rtl stylesheet
}

```

---

_[View the full topic](https://meta.discourse.org/t/horizontal-scroll-bar-showing-when-tagging-somebody/74064)._
