Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Dec 3, 2024
1 parent e5371ea commit f463c0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion docs/data/material/components/slider/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ The `-webkit-appearance: slider-vertical` CSS property can be used to correct th
}
```

For Chrome 124 and newer, the slider includes the CSS [`writing-mode`](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_writing_modes/Vertical_controls#range_sliders_meters_and_progress_bars) property that fixes this bug.
:::

## Marks placement
Expand Down
1 change: 1 addition & 0 deletions packages/mui-material/src/Slider/useSlider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ export function useSlider(parameters: UseSliderParameters): UseSliderReturnValue
const createHandleHiddenInputChange =
(otherHandlers: EventHandlers) => (event: React.ChangeEvent) => {
otherHandlers.onChange?.(event);
// this handles value change by Pointer or Touch events
// @ts-ignore
changeValue(event, event.target.valueAsNumber);
};
Expand Down

0 comments on commit f463c0f

Please sign in to comment.