Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-popover): fix arrow position in RTL direction #10008

Closed
wants to merge 4 commits into from

Conversation

LidiyaGeorgieva
Copy link
Contributor

When the popover is inside iFrame in RTL direction and
there is a scrollbar (in left) - the position of the popover
(and its arrow) should be adjusted (moved to left
with the size of the scrollbar).

fixes: #9966

When the popover is inside iFrame in RTL direction and
 there is a scrollbar (in left) - the position of the popover
(and its arrow) should be adjusted (moved to left
 with the size of the scrollbar).

fixes: #9966
@LidiyaGeorgieva LidiyaGeorgieva requested review from TeodorTaushanov, dimovpetar and kskondov and removed request for TeodorTaushanov October 10, 2024 14:13
@github-actions github-actions bot added the Stale label Nov 2, 2024
packages/main/src/Popover.ts Outdated Show resolved Hide resolved
@@ -717,14 +743,35 @@ class Popover extends Popup {
return actualPlacement;
}

isInsideIframe() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scrollbar is on the right side on Firefox.
Check why does it behave differently on Chromium based browsers only in iframes. Is this a known bug of Chromium?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately the Firefox behavior is the wrong one.
Here is open issue on the topic: https://bugzilla.mozilla.org/show_bug.cgi?id=619963
And also older report for Chromium: https://issues.chromium.org/issues/40322053

@github-actions github-actions bot removed the Stale label Nov 6, 2024
@LidiyaGeorgieva LidiyaGeorgieva requested a review from a team November 27, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ui5-resposive-popover]: the responsive popover is not centered in rtl direction and existing scroll bar
2 participants