We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When there is no headerText and there is nothing inside header slot, then 2px padding remains at the top of the dialog.
headerText
header
To reproduce
Isolated example https://codesandbox.io/s/ui5-webcomponents-forked-gclih?file=/index.html
Expected behavior ui5-popup-header-root is set to display: none when there is no headerText and there is nothing inside header slot
ui5-popup-header-root
display: none
ui5-webcomponents/packages/main/src/Dialog.hbs
Lines 4 to 13 in bf8caaf
Screenshots
Affected components
Organization: SAP Graph
Priority: Medium
The text was updated successfully, but these errors were encountered:
Hello @SAP/ui5-webcomponents-topic-rd,
As @pavelkornev mention header ui5-popup-header-root is still visible even it is empty and this leads to visual misalignments.
The issue is reproducible in: https://codesandbox.io/s/ui5-webcomponents-forked-gclih?file=/index.html
Regards, Nayden
Sorry, something went wrong.
fix(ui5-popover, ui5-dialog): do not render empty headers (#2770)
7f0bd6a
Fixes: #2694
fix(ui5-popover, ui5-dialog): do not render empty headers (SAP#2770)
9a1ec40
Fixes: SAP#2694
bb4be7f
georgimkv
Successfully merging a pull request may close this issue.
Describe the bug
When there is no
headerText
and there is nothing insideheader
slot, then 2px padding remains at the top of the dialog.To reproduce
headerText
and withoutheader
slotIsolated example
https://codesandbox.io/s/ui5-webcomponents-forked-gclih?file=/index.html
Expected behavior
ui5-popup-header-root
is set todisplay: none
when there is noheaderText
and there is nothing insideheader
slotui5-webcomponents/packages/main/src/Dialog.hbs
Lines 4 to 13 in bf8caaf
Screenshots
Affected components
Organization: SAP Graph
Priority: Medium
The text was updated successfully, but these errors were encountered: