mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
In an RTL language (e.g. Arabic) the board root is dir="rtl". Both the minicard title (a dir="auto" .viewer) and the add-card composer textarea are dir="auto" but had no bidirectional isolation, so they shared the surrounding bidi context. Typing a strong RTL character into one list's composer re-resolved that shared context and visibly reflowed the displayed minicard titles of the other lists (no underlying data change — it reverted on refresh). Each minicard title and the composer textarea now use `unicode-bidi: isolate`, making them self-contained bidirectional runs that cannot perturb one another. The isolation is locked in (positive + negative) by tests/minicardBidiIsolation.test.cjs; full browser RTL behavior is covered by tests/playwright/specs/18-rtl-layout.e2e.js. Thanks to xet7.