SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.45k stars 253 forks source link

ui5-responsive-popover: the placement attribute doesn't have effect in RTL mode #8988

Closed unazko closed 1 week ago

unazko commented 2 weeks ago

Bug Description

The ui5-popover gets displayed over it's opener or to the right of it when in right to left display mode even if the placement attribute is set to "Start".

Affected Component

ui5-popover

Expected Behaviour

Expected: The popover shouldn't cover it's opener button.

Isolated Example

No response

Steps to Reproduce

  1. Open the following page on local machine: http://localhost:8080/packages/main/test/pages/ResponsivePopover.html
  2. Add dir="rtl" on the body element
  3. Press over the first "Open me" button to open the popover

Observed: The popover covers the opener button. Even if the placement attribute is set to Start we'll have the same display. The same doesn't happen with left to right display.

Expected: The popover shouldn't cover it's opener button.

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

Latest

Browser

Chrome

Operating System

Windows

Additional Context

No response

Organization

No response

Declaration

unazko commented 2 weeks ago

Hello @SAP/ui5-webcomponents-topic-rd,

Could you please check out this issue.

Best regards, Boyan