You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a relative Nav Drawer (say in a combination with Nav Bar) the drawer still retains the z-index of 999 as if it was in overlay mode. Small oversight when introducing the overrides for relative position, but it's extremely visible in the Material theme as it clips the Nav Bar's elevation shadow:
Steps to reproduce
Open the attached sample
Observe the Nav bar's shadow
Result
The drawer is still using the high z-index and clipping other content, when it shouldn't.
Also I noticed the Nav Bar does have z-index: 4 on it's base part but that doesn't seem to work for some reason unless I move it to the :host. Same approach works for the drawer, so not sure what's up with that, so @simeonoff let me know if I should log that separately
Expected result
We should reset the z-index when in position relative
Description
When using a relative Nav Drawer (say in a combination with Nav Bar) the drawer still retains the
z-index
of 999 as if it was in overlay mode. Small oversight when introducing the overrides for relative position, but it's extremely visible in the Material theme as it clips the Nav Bar's elevation shadow:Steps to reproduce
Result
The drawer is still using the high z-index and clipping other content, when it shouldn't.
Also I noticed the Nav Bar does have
z-index: 4
on it's base part but that doesn't seem to work for some reason unless I move it to the:host
. Same approach works for the drawer, so not sure what's up with that, so @simeonoff let me know if I should log that separatelyExpected result
We should reset the z-index when in position relative
Attachments
wcNavBarAndDrawer.zip
The text was updated successfully, but these errors were encountered: