Closed (fixed)
Project:
Admin Toolbar
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2017 at 15:21 UTC
Updated:
21 Nov 2017 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
adriancid@hudri thanks for reporting I will take a look soon, next time please consider to use the Issue Summary Template to report an issue.
Comment #3
adriancidComment #4
eme commentedIndeed, we should try a z-index of 502
Comment #6
adriancidI edit the issue description and commit the change it works fine in my side, just need more test I think to close here the issue.
Comment #7
adriancidComment #8
hudriI'd recommend not to set the z-index at all, because it is already set by core toolbar, which is a dependency of Admin toolbar. IMHO there is no reason to override a sane default. DRY and KISS.
If there is a good reason to override it, please use a less specific selector (.whatever.classes) than an #ID: Frontend themes might need to make some small adjustments to the toolbar, e.g. because they have a fixed header or a fixed navigation themselves.
Comment #9
adriancidSome problems that this can cause are like #2917441: Maximize button and 8.x-1.20
Comment #10
esod commented@hudri, I unintentionally wrote a duplicate issue for this problem. See Maximize button and 8.x-1.20. When we noticed the bug with the Maximize button, I didn't know what I had on my hands except a bit of a mess.
The z-index change is already in the 8.x-1.x version of the module. I've removed the z-index for the 8.x-1.20 version of the module in my issue. I'll write the patch to remove the z-index from 8.x-1.x.
Comment #11
esod commentedHere's the patch to remove the z-index.
Comment #12
adriancid@eme it seems that is better remove the z-index, what do you think about this?
Comment #13
chi commentedWrong z-index value causes overlapping modal windows (Block UI, Views UI, etc).

Comment #15
adriancidComment #16
michal.sec commentedPatch #13 will not fixed this problem, because is removing line
z-index: 502;, but in current version is linez-index: 9999;.Posting new fix.
Comment #17
adriancidHi @michal.sec the problem is fixed in the last commit in this issue, is 502 because we changed it before in #5 if you go the dev version you will see that it doesn't exists.