[Popover]: The popover is shifted when opening

未关闭
#14,183 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

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.
主要语言
TypeScript
星标
1.8k
派生
290
平均合并
2 天 13 小时
30 天内合并 PR
50

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

UI5/webcomponents 的其他 Issue

查看 UI5/webcomponents 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。