[ShellBarSearch] Search icon renders on inline-end instead of inline-start in RTL mode
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
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
- Render a ui5-shellbar with the search field expanded
- Set document direction to RTL:
- 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 小时
- 30 天内合并 PR
- 33
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UI5/webcomponents 的其他 Issue
-
bug Medium Prio TOPIC RL
难度 1/5 1 小时以内 新手友好度 78/100
UI5/webcomponents#14310 · 1 条评论 ·
维护者通常 2 天内回复
-
[ui5-li | ui5-list]: inner RadioButton announces 'Item Selection.' instead of option label in single-select mode (WCAG 4.1.2)可能已有人在做 @PetyaMarkovaBogdanova 于 19 天前认领。 未关闭ACC bug Medium Prio TOPIC P
难度 2/5 1-3 小时 新手友好度 78/100
UI5/webcomponents#14273 · 3 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
[SF][A11y][ui5-select] Conflicting ARIA: role="combobox" rendered with aria-roledescription="Listbox" (confuses screen-reader users)可能重新可做 @PetyaMarkovaBogdanova 于 33 天前认领,目前没有进行中的 PR。 未关闭bug Medium Prio TOPIC P
难度 2/5 1-3 小时 新手友好度 67/100
UI5/webcomponents#14212 · 3 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
(ui5-search): Loading state sample is broken可能已有人在做 @ndeshev 于 33 天前认领。 未关闭bug Low Prio released TOPIC RL
难度 2/5 1-3 小时 新手友好度 68/100
UI5/webcomponents#14210 · 2 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
For IllustratedMessage title there should be support for setting Header level可能重新可做 @plamenivanov91 于 33 天前认领,目前没有进行中的 PR。 未关闭enhancement Medium Prio TOPIC P
难度 2/5 1-3 小时 新手友好度 62/100
UI5/webcomponents#14162 · 2 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
查看 UI5/webcomponents 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
难度 2/5 1-3 小时 新手友好度 78/100
can1357/oh-my-pi#21349 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 72/100
ohcnetwork/care_fe#17474 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 90/100