ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[ObjectPage]: Subsection dropdown menu position is not correctly aligned in RTL

Open lv-sap opened this issue 3 years ago • 2 comments

Describe the bug

This is related to the JIRA ticket https://jira.successfactors.com/browse/WEF-39011.

In RTL mode, the subsection dropdown menu is not correctly aligned under the Tab button.

See the difference in RTL mode https://sap.github.io/ui5-webcomponents-react/?path=/docs/layouts-floorplans-objectpage--docs&globals=direction:rtl;outline:!true Screenshot 2023-02-27 at 3 29 38 PM

vs. LTR mode, https://sap.github.io/ui5-webcomponents-react/?path=/docs/layouts-floorplans-objectpage--docs&globals=outline:!true: Screenshot 2023-02-27 at 3 26 04 PM

Isolated Example

No response

Reproduction steps

Use you own Docs page https://sap.github.io/ui5-webcomponents-react/?path=/docs/layouts-floorplans-objectpage--docs&globals=outline:!true to reproduce

Expected Behaviour

It should probably be aligned in RTL under the Tab button as it is in LTR mode

Screenshots or Videos

No response

UI5 Web Components for React Version

1.9.2

UI5 Web Components Version

1.9.2

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

lv-sap avatar Feb 27 '23 23:02 lv-sap

Hey @lv-sap, thanks for reporting! This bug is caused by the underlying ui5-tabcontainer web component which is used for the ObjectPage, so I'll forward this issue to the UI5 Web Components repo.


Hi colleagues, the ui5-tabcontainer does not align its sub-tabs popover correctly when being rendered in RTL mode.

Isolated Code Sandbox: https://codesandbox.io/p/sandbox/blissful-shockley-d1io1k?file=%2Fsrc%2FApp.tsx

Expected Behaviour: Popover should be opened underneath the parent tab like in SAPUI5.

MarcusNotheis avatar Feb 28 '23 13:02 MarcusNotheis

Hello @lv-sap ,

The issue is now fixed. Thanks for reporting it :)

Best regards, Petar

dimovpetar avatar Mar 14 '23 07:03 dimovpetar