mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
94.03k stars 32.3k forks source link

[material-ui][docs] Broken demo in the Progress page in the Material 3 section #40420

Open farhaan-mukarram opened 10 months ago

farhaan-mukarram commented 10 months ago

Related page

https://mui.com/material-ui/react-progress/#experimental-apis

Kind of issue

Broken demo

Issue description

I was playing around with the demo and noticed that it stops working when I switch between the LinearProgress and CircularProgress types from the dropdown

Steps to reproduce:

  1. Navigate to the Experimental APIs section of the Progress component
  2. Select LinearProgress from the Types dropdown
  3. Select query or buffer from the variants dropdown
  4. Change the Type back the CircularProgress. The demo no longer works and needs either to be reset or a correct option for the variant be selected for it to work properly

Context 🔦

I was exploring the documentation for the Progress component since I needed to use it in a project

Search keywords: progress component experimental api demo

Yeranosyan commented 10 months ago

I see same, try to fix it.

patrickxunuo commented 10 months ago

Found the issue which is caused by options value unable to pair, will submit a PR later today. (if it's how it works since it's my first time contributing😶)

farhaan-mukarram commented 10 months ago

Can this be assigned to me, if no one else is working on it?