[Popover]: The popover is shifted when opening

Abierto
#14,183 4 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

bug Low Prio TOPIC RD
Bug Description

When the popover is opened, it is incorrectly positioned and appears shifted (10px) from its expected location, as shown in the attached screenshot and example.

Actual behavior: The popover is shifted from its expected position.

Example here

Image
Affected Component

Popover

Expected Behaviour

The Popover should be displayed in the correct position relative to its trigger element.

Isolated Example

https://ui5.github.io/webcomponents/components/Popover/

Steps to Reproduce

1.Open the page containing the Popover component.
2. Set the following properties on the popover:

  hide-arrow
  placement="Bottom"

3.Set the following style on the body element:

body {
  margin: 0;
}
  1. Open the popover and check its position relative to the trigger element.
Log Output, Stack Trace or Screenshots
Image
Priority

Medium

UI5 Web Components Version

2.27.2

Browser

Chrome

Operating System

No response

Additional Context

UDEx ticket https://github.tools.sap/sapudex/digital-design-system/issues/3622

Organization

SAP UDEx

Declaration
  • I’m not disclosing any internal or sensitive information.
Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
290
Merge medio
2 d 13 h
PR fusionados (30 d)
50

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.