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 "containing block" position issue #7870

Merged
merged 12 commits into from
Nov 29, 2023

Conversation

TeodorTaushanov
Copy link
Member

@TeodorTaushanov TeodorTaushanov commented Nov 16, 2023

Fixes #7856

@TeodorTaushanov TeodorTaushanov changed the title refactor(ui5-popover): test fix stacking context issue fix(ui5-popover): fix containing block position issue Nov 21, 2023
@TeodorTaushanov TeodorTaushanov marked this pull request as ready for review November 21, 2023 12:51
* <b>Note:</b> We don't recommend nesting popup-like components (<code>ui5-dialog</code>, <code>ui5-popover</code>) inside other components containing z-index.
* This might break z-index management.
* <b>Note: </b> We recommend placing popup-like components (<code>ui5-dialog</code> and <code>ui5-popover</code>)
* outside any other components. Preferably the popup-like components should be placed in

Choose a reason for hiding this comment

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

I suggest (here and below):
Preferably, the popup-like components should be placed in an upper level HTML element,

packages/main/src/Dialog.ts Outdated Show resolved Hide resolved
packages/main/src/Dialog.ts Show resolved Hide resolved
@TeodorTaushanov TeodorTaushanov changed the title fix(ui5-popover): fix containing block position issue fix(ui5-popover): fix "containing block" position issue Nov 22, 2023
packages/main/src/Popover.ts Outdated Show resolved Hide resolved
packages/main/src/Popover.ts Outdated Show resolved Hide resolved
packages/main/src/Popover.ts Outdated Show resolved Hide resolved
packages/main/src/Popover.ts Show resolved Hide resolved
packages/main/test/pages/styles/Popover.css Show resolved Hide resolved
Copy link
Contributor

@georgimkv georgimkv left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@alexandar-mitsev alexandar-mitsev left a comment

Choose a reason for hiding this comment

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

Ready for review from UA

Copy link

@BorisDafov BorisDafov left a comment

Choose a reason for hiding this comment

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

From UA perspective, I approve the changes .

@TeodorTaushanov TeodorTaushanov merged commit 1a9cc86 into main Nov 29, 2023
7 checks passed
@TeodorTaushanov TeodorTaushanov deleted the popover_position branch November 29, 2023 11:37
PetyaMarkovaBogdanova pushed a commit that referenced this pull request Dec 5, 2023
* fix(ui5-popover): fix containing block positioning issue
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.

Regression: Tab Container CSS "container-type: inline-size;" is breaking popover usage
4 participants