Steps to reproduce

  1. Install Drupal 8.9
  2. Create multiple block types
  3. Enable layout builder module :
  4. Enable Claro theme
  5. On a CT display, enable "Use Layout Builder" and click "Edit layout"
  6. Clock on a region to add a block
  7. Click "Create custom block" at the top of lb sidebar

Current result

  • All existing block type item listed have a dark background color

Expected result

  • All existing block type item listed should not have a dark background color

 

Comments

davidferlay created an issue. See original summary.

davidferlay’s picture

Issue summary: View changes
davidferlay’s picture

This issue may be solved by https://www.drupal.org/project/drupal/issues/2986056 in 9.1 but patch is not compatible with 8.9

indrajithkb’s picture

Assigned: Unassigned » indrajithkb
indrajithkb’s picture

Assigned: indrajithkb » Unassigned
Status: Active » Needs review
StatusFileSize
new31.58 KB
new28.29 KB
new1.45 KB

Hi @davidferlay i have added the changes (from this patch https://www.drupal.org/project/drupal/issues/2986056 ) here also, but still our issue is here, so i am keeping this change and fixed the issue(hope this you need). Please review my patch.

Before:

before

After:

after

davidferlay’s picture

StatusFileSize
new116.47 KB

Hi @Indrajith KB,

Thanks for your quick answer

Unfortunately this patch doesn't fix this issue : you have to click "Create Custom Block" to reproduce it (providing some block type exist)

Create Custom block css issue

davidferlay’s picture

Status: Needs review » Needs work
indrajithkb’s picture

Assigned: Unassigned » indrajithkb
indrajithkb’s picture

StatusFileSize
new47.44 KB

Hi @davidferlay ,
when am trying to click "Create Custom Block" to reproduce am getting the below window.

claro

i have created the custom blocks, but still i am getting this screen.

lauriii’s picture

Issue summary: View changes
StatusFileSize
new32.65 KB

I tested the steps in the issue summary and this works as expected for me. Can anyone else reproduce this?

davidferlay’s picture

@Indrajith KB I guess you need to have more than 1 Block Type created to get UI with list of Block Types available to create a Content Custom Block from. Or did you have already created multiple Block Types when you tried to reproduce ?

@lauriii if you can't reproduce at all, it may mean this issue is caused by another patch (solely or conflicting) from our composer.json : https://github.com/skilld-labs/skilld-docker-container/blob/master/compo...

davidferlay’s picture

Issue summary: View changes
kostyashupenko’s picture

Assigned: indrajithkb » Unassigned
Status: Needs work » Needs review
StatusFileSize
new122.04 KB
new1.45 KB

I reproduced that issue with multiple block_types against drupal 8.9.0 and these problems comes from layout-builder.css which is here /core/themes/stable/css/layout_builder/layout-builder.css
layout builder

The following patch should solve your issue @davidferlay against 8.9.0, but it is more likely temporary fix.

KondratievaS’s picture

Assigned: Unassigned » KondratievaS
KondratievaS’s picture

StatusFileSize
new136.44 KB

Tested patch form #13 and result is NOT OK for mobile - there is no background

Mobile

KondratievaS’s picture

Status: Needs review » Needs work
KondratievaS’s picture

Assigned: KondratievaS » Unassigned
kiran.kadam911’s picture

Assigned: Unassigned » kiran.kadam911

taking this up.

kiran.kadam911’s picture

Assigned: kiran.kadam911 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new338.78 KB
new56.42 KB
new62.09 KB

Not able to reproduce the issue on 8.9.x, here i am attaching screenshot(desktop, tab & mobile) which all are working fine. After applying patch #13 onHover of list item background is getting transparent and which is fine. I think there is no other issues in it, feel free to add your opinion.

Thanks!

kostyashupenko’s picture

StatusFileSize
new1.76 KB
new1.03 KB

Improved my patch from #13.
And again - it is temporary fix, which shouldn't be included in Claro globally.

KondratievaS’s picture

StatusFileSize
new95.98 KB

Tested patch from #20 in different browsers for mobile and desktop and result is OK

OK

KondratievaS’s picture

Status: Needs review » Reviewed & tested by the community
bnjmnm’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs steps to reproduce, +Needs issue summary update
StatusFileSize
new62.55 KB
new82.16 KB
new58.32 KB
new41.26 KB

Switching this back to needs work for the following reasons:

  1. I'm not able to reproduce the issue following the steps in the issue summary. Th#19 and #10 were similarly unable to reproduce the issue. The issue summary should be updated with the steps necessary to reproduce the issue on a new Drupal install, with either the standard or Umami profile. Committers will not approve a patch without a consistent, reliable way to reproduce an issue, so this should absolutely be the next step before any other work happens.
  2. After applying the patch, the dialog styling is broken in several ways. Screenshots are attached.
  3. The "after" screenshots in #5 and #21 show a the off-canvas dialog with a white background. That isn't the correct styling, the background is supposed to be #444. The issue summary incorrectly says the solution should be a white background, so tagging with "needs issue summary update". This is how the dialog should appear (and in my case, does appear, as I'm not experiencing the symptoms)

I'm looking forward to the steps to reproduce, this looks like an interesting one.

amykhailova’s picture

StatusFileSize
new30.96 KB

I can confirm that I cannot reproduce the issue as well.
Claro with layout builder
I am on Drupal 9.0.1

bnjmnm’s picture

Status: Needs work » Postponed (maintainer needs more info)
jefuri’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new1.33 MB

I have implemented my own OpenOffCanvasDialogCommand in an ajax response.
This use case creates also the empty background issue for me in drupal 8.9
screenshot

It seems it's because background is set to none, en a padding exists for the content within the dialog.

.ui-dialog.ui-dialog-off-canvas .ui-widget-content.ui-dialog-content {
  background: none;
}

.ui-dialog .ui-widget-content.ui-dialog-content {
  overflow: auto;
  padding: 1em;
  background: #fff;
}

This issues also occurs therefor in Gin theme.

bnjmnm’s picture

Status: Active » Postponed (maintainer needs more info)

The screenshot in #26 may be evidence that a problem is being experienced, but does not provide any information on how to reproduce. This issue can't be set to active unless there are specific steps for how to reproduce the issue in Drupal core. If we can follow steps to get to the same symptoms as the ones in the screenshot, things can move forward!

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing as outdated since there hasn't been a follow since moving to PNMI 2 years ago

if you still feel this is an issue please reopen providing the information requested in #27 with updated issue summary and testing steps.

kopeboy’s picture