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
{{ message }}
Repository navigation
[BUG] Tooltip of a disabled slider is drawn under the next slider #4232
Describe the bug
A disabled slider with an always-visible tooltip still has its tooltip painted under the slider that comes after it.
.dash-slider-root[data-disabled] sets opacity: 0.5 in components/dash-core-components/src/components/css/sliders.css. Opacity below 1 makes the root a stacking context, so the tooltip's z-index cannot reach past its own slider, and the next slider is painted on top in DOM order.
Expected behavior
The tooltip of a disabled slider is drawn above the next slider, the same as for an enabled one.
This worked when I tried it during #4209. It was left out there because it changes how every disabled slider is blended: the thumb is no longer composited with the track as one group, so the track shows through the thumb a little more. The tooltip anchor would also need to be left out of the fade, or the tooltip stays half transparent.
Activity