This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Bug: calcite-block disabled state doesn't 'hide' slider handle #560
Labels
Comments
The scrim currently uses a z-index of 2, so there are cases where siblings in the same stacking context will show above it. I propose for now a simple CSS var for the scrim's z-index and if necessary, we can create a follow-up issue for something more involved to guarantee that it's always above. @asangma @pr3tori4n @driskull WDYT? |
@jcfranco This is the current structure of the scrim <div class={CSS.content} hidden={!hasContent || !open}>
<slot />
{loading || disabled ? <CalciteScrim loading={false}></CalciteScrim> : null}
</div> Can we just do the following to get the stacking index relative to where the scrim is? <div class={CSS.content} hidden={!hasContent || !open}>
<div style="position:relative; z-index:1">
<slot />
</div>
<div>
{loading || disabled ? <CalciteScrim loading={false}></CalciteScrim> : null}
</div> |
We could also enhance |
@AdelheidF Can you help verify this one? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
cc @asangma @jcfranco
Actual Behavior
Expected Behavior
Reproduction Steps
Relevant Info
The text was updated successfully, but these errors were encountered: