New topic title input (#reply-title) remains LTR in RTL sites — fix still not effective (2026)

Bug description

On any RTL site (tested on a Persian/Farsi instance), the topic title input in the composer stays LTR even when the entire page is RTL.

  • The input has dir="auto" (or no dir attribute at all in some cases).
  • Computed direction is LTR no matter what.
  • Placeholder text, cursor movement, and typing direction are all wrong until you type the first RTL character (and even then it’s inconsistent).

Steps to reproduce

  1. Set site to RTL (or use a Persian locale).
  2. Enable “Support mixed text direction” (the official setting).
  3. Open the composer (New Topic or Reply).
  4. Look at the title field (#reply-title inside .title-input).

Current behavior

The input renders as LTR:

  • Text alignment is left.
  • Cursor and selection behave as LTR.
  • Even with aggressive CSS !important rules on direction: rtl, text-align: right, and unicode-bidi: embed, the computed style still shows LTR.

HTML of the input (as seen in inspector):

<input aria-label="عنوان موضوع خود را اینجا بنویسید" placeholder="عنوان موضوع خود را اینجا بنویسید" ... id="reply-title" class="ember-text-field ember-view" type="text">

Computed styles on the <input> (relevant part):

  • direction: rtl is overridden or ignored.
  • The field falls back to LTR when empty or when only neutral characters are present.

What I already tried

  • All standard CSS overrides (including the most specific selectors + !important + unicode-bidi: embed).
  • Toggling “Support mixed text direction” on/off.
  • Hard refresh + cache clear.
  • Theme component with the exact rules recommended on Meta.

None of them force the input to respect RTL from the start.

Expected behavior

The title input should behave like the rest of the composer and cooked content:

  • Default to direction: rtl on RTL sites.
  • Respect dir="auto" properly (or have dir="rtl" forced when the site is RTL).
  • Placeholder, cursor, and text direction should be RTL immediately.

This was reported in October 2025 (Titles placeholder in New topic is not RTL) with a note that “a fix is pending.” The bug is still present.

Discourse version: (please fill in your exact version from /admin)

Browser/OS: (Chrome/Firefox + Windows/macOS/Android — whatever you’re using)

Would love to see this fixed — it’s one of the most visible RTL issues left in the composer. Thanks!

1 Like