Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
Olivero theme
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 May 2021 at 01:25 UTC
Updated:
28 Sep 2022 at 00:50 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
gauravvvv commentedAttached patch and after patch screenshot for reference.
Comment #3
neslee canil pintoCan confirm that this bug exists, and the patch from #2 solves it.
Comment #4
lauriiiBased on https://www.drupal.org/docs/theming-drupal/z-indexes-in-drupal-8, this should have z-index of 1259
Based on https://www.drupal.org/docs/theming-drupal/z-indexes-in-drupal-8, we should probably set the z-index on .ui-dialog
Comment #5
indrajithkb commentedHi @Gauravmahlawat thanks for the patch #2
Hi @lauriii thanks for the points, adding the patch resolving the #4 comments.
SS after patch:
Comment #6
gauravvvv commentedThis seems fine to me. Moving to RTBC
Comment #7
lauriiiSince these styles are more related to the jQuery UI widget overlay and dialog, we should probably move these to file that is more specific to those.
Comment #8
avpadernoComment #9
sakthivel m commentedProviding updated version of patch #9 as per comment #7, Please review the patch
Comment #10
avpadernoComment #11
manojithape commentedComment #12
manojithape commented@Sakthivel M: At the time of applying patch #9 getting an error and not able to apply the patch on drupal 9.3.x dev version and Olivero 9.3.0 dev version. Please refer attached screenshot.
Comment #13
sakthivel m commented#13 Re-created patch, Please review it.
Comment #14
manojithape commentedComment #15
manojithape commentedVerified and tested patch#13 on the drupal 9.3.x-dev version and Olivero 9.3.0-dev version. Patch applied successfully and looks good to me.
Testing Steps:
Expected Result:
Leave Preview pop-up should be displayed properly without breaking the header.
Actual Results:
After applying the patch proper leave preview pop-up displayed without breaking the header.
Please refer attached screenshot.
Moving this ticket to RTBC.
Comment #18
indrajithkb commentedHI @Sakthivel M thanks for the patch, just re-applying the patch here please review.
Comment #19
vikashsoni commented@Sakthivel thanks for the patch for ref sharing screenshot
Comment #20
chetanbharambe commentedVerified and tested patch #13.
Patch applied successfully and looks good to me.
Testing Steps:
# Go to Appearance -> Set Olivero theme as admin and default theme
# Add the content and click on "PREVIEW"
# Click on any menu and observe the header breaks when dismissing the live preview
Expected Results:
# After applying the patch, the Leave Preview pop-up should be displayed properly without breaking the header.
Actual Results:
# Before applying the patch, the Leave Preview pop-up looks broken
Please refer attached screenshots.
Looks good to me.
Can be a move to RTBC.
Comment #21
mherchelNote that jQueryUI is being deprecated. Thanks for working on this!
I left a comment in the MR.
Comment #22
xjmjQuery UI is indeed being deprecated, but there will still be a modal dialog, and since jQuery UI dialog is our model in terms of the functionality and accessibility we want, there's a good chance of the same bug existing then.
Most alignment issues are normal bugs, but this one is actually major IMO because it is hiding the most critical information on the screen (what it is you're being asked to do, and therefore the meaning of the two buttons available to you).
Comment #23
xjmComment #24
xjmI think #3192638: Header block overlapping popup is probably a duplicate of this issue.
Comment #25
mherchelComment #26
mherchelUpdating issue summary
Comment #27
mherchelI updated the merge request so that the CSS is only loaded when the
core/drupal.dialoglibrary is loaded.This should be good to go.
Tugboat preview: https://3214191-header-jqueryui-overla-tmpp3tjf6megkaytxpzgbtg6zbdwhcuk....
Comment #28
thejimbirch commentedFollowed the testing instructions on the provided Tugboat link.
1. I logged in as an administrator.
2. From the Content screen I edited an article.
3. From the article form I chose the Preview button.
4. From the Preview screen, I tried to navigate away from the page by clicking on a menu link.
5. The modal popped up and was over the header.
Screen recording of these steps:
Since I had the mobile menu in the first steps, I repeated with the browser wider to validate the overlay covers the header with the full menu.
Marking at RTBC
Comment #30
lauriiiCommitted 07c0ba8 and pushed to 9.3.x. Thanks!
Comment #31
lauriiiHere's interdiff for a small fix applied on commit.
Comment #33
kristen polIt would be good if credits for this related issue could be added here as I just closed that one out as a duplicate and a lot of work happened over there. Thanks!
#3192638: Header block overlapping popup
for:
@Abhijith S
@Agnesh Tank
@chetanbharambe
@djsagar
@kostyashupenko
These are already on this issue:
@IndrajithKB
@lauriii
@mherchel
@Sakthivel M
@xjm