We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b3c5b1 commit 2c66a87Copy full SHA for 2c66a87
.changeset/itchy-poets-battle.md
@@ -0,0 +1,5 @@
1
+---
2
+"@spectrum-css/slider": patch
3
4
+
5
+fix(slider): Limit the slider label width to its intrinsic size instead of taking up full-width to prevent accidental activation on mobile.
components/slider/index.css
@@ -404,6 +404,7 @@
404
.spectrum-Slider-labelContainer {
405
display: flex;
406
align-items: center;
407
+ justify-content: space-between;
408
position: relative;
409
inline-size: auto;
410
@@ -423,7 +424,6 @@
423
424
425
.spectrum-Slider-label {
426
padding-inline-start: 0;
- flex-grow: 1;
427
font-size: var(--mod-slider-font-size, var(--spectrum-slider-font-size));
428
}
429
0 commit comments