[ShellBarSearch] Search icon renders on inline-end instead of inline-start in RTL mode

オープン
#14,300 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

author action bug
Bug Description

In RTL mode, the search magnifying glass icon inside ShellBarSearch appears on the left (inline-end) side of the input field. In LTR mode the icon correctly sits on the left (inline-start). The icon should always be on the inline-start side regardless of direction.

Root cause: .ui5-search-field-content is display: flex; flex-direction: row with DOM order INPUT (index 0) → ICON (index 1). In RTL, flex-row reverses the visual order, placing the icon at inline-end.

Measured positions (RTL, 1512px viewport):

  • Input: left=259, right=624
  • Icon: left=228, right=256

The icon should be at ~596–624 (inline-start in RTL), not 228–256 (inline-end).

Affected Component

@ui5/webcomponents-fiori — ShellBarSearch (ui5-shellbar-search) Version: 2.27.0

Expected Behaviour

The search icon appears on the inline-start side of the input field in both LTR and RTL modes.

Isolated Example

No response

Steps to Reproduce
  1. Render a ui5-shellbar with the search field expanded
  2. Set document direction to RTL:
  3. Observe the search icon — it is on the left (inline-end) instead of the right (inline-start)
Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.27.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration
  • I’m not disclosing any internal or sensitive information.
主要言語
TypeScript
スター
1.8k
フォーク
289
平均マージ
4日 5時間
マージ済み PR(30日)
33

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UI5/webcomponents のほかの issue

UI5/webcomponents の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。