Problem/Motivation
Problem/Motivation
The sidebar for adding blocks and sections in layout builder has a jQuery resize option, but it is not usable because the z-index is too low.
Steps to reproduce:
- Install Drupal and enable layout builder module
- Enable layout builder on a content type
- Click manage layout
- Click Add block or Add section
- Try to resize the sidebar - no resize option appears
Proposed resolution
Increase the z-index of the element so it is usable.
Remaining tasks
Approval of the color, see #8.
User interface changes
Makes the UI resize element visible.
Before:

Screencast:
https://www.screencast.com/t/tFpQcSv3q8
After patch in #2:

Screencast:
https://www.screencast.com/t/Xd5YttSnxwM2
Comments
Comment #2
christopherdoherty commentedComment #3
cyb_tachyon commentedThis is looking great! Can confirm #2 solves some real UX issues with LB.
Comment #4
ryan.ryan commentedPatch applies cleanly here, thanks!
Comment #5
BalajiDS commentedpatch #2 works fine in Drupal - 8.8.6, thanks
Comment #7
tim.plunkettPlease provide before and after screenshots and fill out the issue summary, thanks!
Comment #8
pameeela commentedUpdated IS and added screenshots and screencasts as it is kind of impossible to capture in a screenshot.
The patch works and I like the idea of making it wider so it's easy to grab, but I'm not sure about the blue colour? If others thing the blue works then this can be RTBC.
Comment #9
pameeela commentedComment #11
quietone commentedThe patch still applies to 9.2.x.
This is waiting on approval of the color. I will ask in #ux for comments.
Comment #12
gauravvvv commentedThis color is not passing the accessibility test.
Adding screenshot for reference.
Moving to NW.
Comment #13
gauravvvv commentedComment #14
gauravvvv commentedI have provided the patch with the background color as #fff. Also after and before patch screenshot for reference.
Comment #15
gauravvvv commentedComment #16
gauravvvv commentedComment #17
quietone commented@Gauravmahlawat, thanks. When making a screen shot it is helpful to update the Issue Summary by removing the old after screenshot and replacing it with the one you made. It saves a lot of time for reviewers. The test didn't run because the patch failed to pass the code quality tests. You can setup your local environment to run these test.
It helps to know that the color used in #2 doesn't pass usability tests. The current patch passes those usability tests but does the color 'fit' with any Drupal standard for this?
Comment #18
gauravvvv commented@quietone, I am not sure the white color is a perfect fit here or not. I just review the other components of that sidebar and found we are basically using two color's light blue and white. Light blue failed in the accessibility test so I thought white would work here.
Can you suggest any color here?
Thank you for
I was not aware of it. Will use it for sure.
Comment #21
larowlanIs this still an issue? I've been able to resize the sidebar in a custom project recently
Comment #24
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #26
bwaindwain commentedComment #27
_utsavsharma commentedFixed CCF in #16.
Comment #28
gauravvvv commentedUpdated attributions
Comment #29
danielvezaThe resize handler works as expected now, confirmed by @larowlan in #21 and I've also manually tested it on a fresh install of Drupal 11.
Therefore the title and the IS are now outdated and this issue needs to be rescoped to fixing the color of the resizable section of the off canvas. I'm not 100% sure what this should be re-titled as so I've left it be for the moment