@yogiswara/honcho-editor-ui 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -125,21 +125,15 @@ export default function HSliderColorMobile(props) {
|
|
|
125
125
|
textAlign: "right", // Keep the text alignment
|
|
126
126
|
}, children: formatValue(props.tempScore) })] }), _jsx(Slider, { sx: {
|
|
127
127
|
width: "100%",
|
|
128
|
-
color: colors.surface,
|
|
129
128
|
'& .MuiSlider-rail': {
|
|
130
|
-
|
|
131
|
-
opacity: 1,
|
|
132
|
-
pointerEvents: 'none', // Make the rail non-interactive
|
|
129
|
+
pointerEvents: 'none', // Makes the rail non-interactive
|
|
133
130
|
},
|
|
134
131
|
'& .MuiSlider-track': {
|
|
135
|
-
|
|
136
|
-
border: 'none',
|
|
137
|
-
pointerEvents: 'none', // Make the track non-interactive
|
|
132
|
+
pointerEvents: 'none', // Makes the track non-interactive
|
|
138
133
|
},
|
|
139
134
|
'& .MuiSlider-thumb': {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
135
|
+
pointerEvents: 'auto', // IMPORTANT: Re-enables interaction ONLY for the thumb
|
|
136
|
+
},
|
|
143
137
|
}, slotProps: {
|
|
144
138
|
thumb: {
|
|
145
139
|
ref: tempSliderRef
|