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

Abierto
#14,300 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
289
Merge medio
4 d 5 h
PR fusionados (30 d)
33

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UI5/webcomponents

Todos los issues de UI5/webcomponents

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.