Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stepper] Reverse the vertical stepper starting point #15784

Closed
1 of 2 tasks
fajrizulfikar opened this issue May 22, 2019 · 4 comments
Closed
1 of 2 tasks

[Stepper] Reverse the vertical stepper starting point #15784

fajrizulfikar opened this issue May 22, 2019 · 4 comments
Labels
component: stepper This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@fajrizulfikar
Copy link

fajrizulfikar commented May 22, 2019

Current behavior when using vertical steppers it would look like this:
stepper

I expect it could start from the bottom and finish on the top by not changing the index order.
I try to use direction: 'rtl' but it only change the horizontal direction, not the vertical direction.

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

Reverse vertical steppers direction from top-to-bottom to be bottom-to-top

Current Behavior 😯

Using direction: 'rtl' does not accomplish the goal

Your Environment 🌎

Tech Version
Material-UI v3.6.2
React 16.3.0
Browser Chrome 74
@adeelibr
Copy link
Contributor

@fajrizulfikar Here is an example of working revere stepper https://codesandbox.io/s/material-ui-reverse-stepper-88xu1 is this what you want?

@fajrizulfikar
Copy link
Author

@adeelibr first of all thank you for your response, but that's not what i want.
in a raw picture, i want the stepper to be look like this:
raw picture
the stepper still start from the first index, but the direction is reversed

@joshwooding
Copy link
Member

joshwooding commented May 30, 2019

@fajrizulfikar You should be able to use flexbox to support this e.g https://codesandbox.io/s/material-demo-uqzeh we should be able to add support if others are happy.

@fajrizulfikar
Copy link
Author

thank you sir!
this is what i was looking for

@oliviertassinari oliviertassinari added component: stepper This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists labels Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: stepper This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants