Skip to content

[docs][material-ui] Slider in color customization playground twitches when sliding #42019

@yassinmars

Description

@yassinmars

Steps to reproduce

Link to live example: (required)

slider.problem.issue.mp4

Steps:
1.Go to Settings
2.Click on "Edit documentation colors"
3.Slide the toggle from left to right.
4.Observe the behavior as it passes the 100 and 50 marks and the marks after that.

Current behavior

When sliding the Slider component's toggle from left to right, a noticeable twitch occurs around the 100 and 50 marks.
The marks for A700 and A400 are not displayed when the slider moves from left to right.
These issues do not occur when sliding from right to left.

Expected behavior

The Slider should move smoothly without any twitching at any point along the track.
All marks, including A700 and A400, should be visible when sliding from left to right.

Context

I am attempting to provide a seamless user experience when using the slider. This twitching effect is causing confusion and a less satisfactory user interaction.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: Slider, twitch, A700, A400, marks, animation issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something doesn't workdocsImprovements or additions to the documentationpackage: material-uiSpecific to @mui/material

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions