[Popover]: The popover is shifted when opening

オープン
#14,183 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

この 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時間
マージ済み PR(30日)
50

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UI5/webcomponents のほかの issue

UI5/webcomponents の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。