[Popover]: The popover is shifted when opening

Đang mở
#14,183 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
1.8k
Fork
290
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UI5/webcomponents

Tất cả issue của UI5/webcomponents

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.