[material-ui][Slider] Labels of the marks goes beyond the block
Open
A pull request for this has already been merged.
- #40647 by @DonikaV — merged
has workaround
scope: slider
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce
Link to live example: (required)
Steps:
- Put Slider component to the page
- Add marks min and max
- Marks goes beyond the block
Current behavior
No response
Expected behavior
Marks fit the parent container
Context
Your environment
npx @mui/envinfo
System:
OS: macOS 14.1.2
Binaries:
Node: 20.9.0 - /usr/local/bin/node
npm: 10.1.0 - /usr/local/bin/npm
pnpm: Not Found
Browsers:
Chrome: 120.0.6099.216
Edge: Not Found
Safari: 17.1.2
npmPackages:
@emotion/react: ^11.11.3 => 11.11.3
@emotion/styled: ^11.11.0 => 11.11.0
@mui/base: 5.0.0-beta.31
@mui/core-downloads-tracker: 5.15.4
@mui/icons-material: ^5.15.4 => 5.15.4
@mui/material: ^5.15.4 => 5.15.4
@mui/material-nextjs: ^5.15.3 => 5.15.4
@mui/private-theming: 5.15.4
@mui/styled-engine: 5.15.4
@mui/system: 5.15.4
@mui/types: 7.2.13
@mui/utils: 5.15.4
@mui/x-date-pickers: ^6.18.7 => 6.18.7
@types/react: ^18.2.47 => 18.2.47
react: ^18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
typescript: ^5.3.3 => 5.3.3
</details>
**Search keywords**: slider
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.