software-mansion / software-mansion/react-native-enriched-html

[Feature request] RTL mode

Open
#222 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
1.4k
Forks
66
Avg merge
4d 19h
Merged PRs (30d)
11

Description

Title: RTL not supported in EnrichedTextInput

Describe the bug:
EnrichedTextInput does not support RTL mode. Even when the app is in RTL layout:
The placeholder always stays left-aligned.
Ordered list numbers, bullets, and blockquote markers always start from the left.
Only the typed text appears to start from the right (but formatting is inconsistent).

To Reproduce:
Use a simple EnrichedTextInput in an RTL layout.
Observe the placeholder alignment (always left).
Apply formatting such as Ordered List or Blockquote.
See that list numbers, bullets, and blockquotes remain left-aligned.

Expected behavior:
All elements (placeholder, list numbers, bullets, blockquotes) should respect RTL.

Actual behavior:
Placeholder: always left-aligned ❌
Lists and blockquotes: always left-aligned ❌
Input text: appears on the right ✅

Device:
Device: any
OS: any
Version: any

Additional context:
RTL is not supported in EnrichedTextInput at this time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a simple EnrichedTextInput in an RTL layout, then inspect how placeholder alignment, ordered lists, bullets, and blockquotes are rendered. The work is done when all of these elements respect RTL while typed text and formatting remain consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.