Closed (fixed)
Project:
Drupal core
Version:
8.9.x-dev
Component:
workspaces.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Nov 2019 at 17:30 UTC
Updated:
14 Aug 2020 at 16:29 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
amateescu commentedComment #3
poojakural commentedComment #4
poojakural commentedComment #5
poojakural commentedToolbar css causing issue. Please find the attachment and SS
Comment #6
priyanka.sahni commentedComment #7
priyanka.sahni commentedVerified and tested by applying the patch#5.It is not fixed.
Steps to test-
1. Go to the admin site.
2. Go to admin/modules -> Enable the workspace.
3. Click on vertical scrollbar.
4. Go to admin/content -> Click on Live -> Click on Stage.
Refer to the videos attached
Comment #8
poojakural commentedComment #9
poojakural commentedFixed. Tested on Seven, Bartik, Classy, Claro, Umami
Step to Test:
1. Go to the admin site.
2. Go to admin/modules -> Enable the workspace.
3. Click on vertical scrollbar.
4. Go to admin/content -> Click on Live -> Click on Stage.
Please refer the attached videos and patch
Comment #10
pankaj.singh commentedComment #11
pankaj.singh commentedJust noticed the issue "Unclickable area to switch to a workspace" is only reproducible while the menu items are in the vertical orientation.
Tested the patch from #9 on 8.8.5, patch worked.
Also, I found a similar issue on 9.1.x, applied the same patch and it worked for me. Please refer to the attached video clips.
Comment #13
shaalThank you for working on this, and adding the video files that demonstrate before/after changes.
I used simlpytest.me with Drupal 8.9.1, and compared Umami vs Umami with patch #9
This patch works well and fixes the problem!
Btw, I discovered a new issue that can be seen also in the videos, after the dialog shows up to confirm you want to switch workspaces, it messes up the order of toolbar menu and workspace menu, I opened a separate issue for that - #3152830: After closing workspaces dialog the vertical admin toolbar is displayed on top of workspaces interface.
Comment #14
amateescu commentedAren't those styles there for a reason? I think we need an opinion from someone who was involved in writing the CSS for core's toolbar.
Comment #15
lauriiiWould be great to get a review from toolbar subsystem maintainer on why this CSS was introduced in the first place.
Comment #16
shaalComment #17
nod_I had a look and went through the history a bit. It seems like in #2100133: The Toolbar tray box shadow disappears at small viewports sizes on Chrome, on a Mac, under unpredictable conditions the styling for the shadow moved from the pseudo-element to the
actual element. Meaning that the whold lining:before pseudo element is unnecessary.
Which mean the patch is ok, and we could even remove the 2 rules around it that deal with lining:before.
Comment #18
amateescu commentedThanks @nod_, that's very helpful!
Done :)
Comment #19
amateescu commentedAttaching a patch for 8.9.x, which doesn't have the
stable9theme.Comment #20
nod_RTBC +1
Comment #21
lauriiiIf we are going to delete dead code as part of this too, can we delete this too?
And how about this:
There's also this in toolbar.theme.css which I suspect we might be able to remove:
Comment #22
amateescu commentedThanks for the review, @lauriii! I did all the changes from #21 and also tested manually and didn't see any visual differences for the toolbar, with and without the patch.
Comment #25
lauriiiEven though the rules I mentioned in #21 could be unnecessary, I decided to commit #18 instead of #22 to keep the changes only to the pseudo element.
Committed 8790ee9 and pushed to 9.1.x, 9.0.x and 8.9.x. Thanks!