-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Dash packages: dash 3.3.0
Environment:
- OS: Windows 10
- Browser: Firefox (145.0.2)
- VS Code with Jupyter Notebook (the issue does not appear in the Jupyter output inside VS Code)
- Also tested on Chrome 142.0.7444.176 and Edge 142.0.3595.94 (works correctly on these browsers).
Describe the bug
When using Dash components with custom CSS, the :active pseudo-class is not applied in Firefox:
- On a dcc.Slider handle, the styles (border, box-shadow, background-color) do not appear while dragging.
- On a dcc.Dropdown, clicking an option does not trigger the :active state for the selected item.
- On Chrome and Edge, both Slider and Dropdown handle :active correctly.
- In Firefox DevTools, the :active styles do not appear at all in the Styles tab.
Expected behavior
The handle and dropdown option styles (:active) should apply correctly in Firefox, just like in Chrome and Edge.
Screenshots / Video
I have attached a video demonstrating the issue. In the video, you can see:
- The Slider and Dropdown styles updating correctly in Chrome, but not in Firefox.
- In the CSS code shown in the video, some lines are commented out — these are previous attempts to fix the problem that all failed.
- Video: https://www.youtube.com/watch?v=hv0rOko72Pg
Metadata
Metadata
Assignees
Labels
No labels