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

[StepButton] Don't flow into StepContent when vertical #16414

Closed
wants to merge 1 commit into from

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jun 28, 2019

Closes #11857

Demo is low-effort content for a friday. Just had to change spacing for vertical buttons.

@eps1lon eps1lon added bug 🐛 Something doesn't work component: stepper This is the name of the generic UI component, not the React module! labels Jun 28, 2019
@mui-pr-bot
Copy link

mui-pr-bot commented Jun 28, 2019

Details of bundle changes.

Comparing: ffb125d...80e1413

bundle parsed diff gzip diff prev parsed current parsed prev gzip current gzip
@material-ui/core +0.03% 🔺 +0.01% 🔺 320,029 320,113 88,270 88,281
@material-ui/core/Paper 0.00% 0.00% 68,291 68,291 20,369 20,369
@material-ui/core/Paper.esm 0.00% 0.00% 61,573 61,573 19,161 19,161
@material-ui/core/Popper 0.00% 0.00% 28,945 28,945 10,395 10,395
@material-ui/core/Textarea 0.00% 0.00% 5,507 5,507 2,358 2,358
@material-ui/core/TrapFocus 0.00% 0.00% 3,753 3,753 1,578 1,578
@material-ui/core/styles/createMuiTheme 0.00% 0.00% 16,009 16,009 5,791 5,791
@material-ui/core/useMediaQuery 0.00% 0.00% 2,597 2,597 1,102 1,102
@material-ui/lab 0.00% 0.00% 140,210 140,210 43,456 43,456
@material-ui/styles 0.00% 0.00% 51,698 51,698 15,348 15,348
@material-ui/system 0.00% 0.00% 15,420 15,420 4,391 4,391
Button 0.00% 0.00% 84,316 84,316 25,722 25,722
Modal 0.00% 0.00% 14,427 14,427 5,087 5,087
Portal 0.00% 0.00% 3,473 3,473 1,572 1,572
Slider 0.00% 0.00% 74,889 74,889 23,293 23,293
colorManipulator 0.00% 0.00% 3,904 3,904 1,544 1,544
docs.landing 0.00% 0.00% 54,843 54,843 13,900 13,900
docs.main 0.00% 0.00% 647,243 647,243 203,919 203,919
packages/material-ui/build/umd/material-ui.production.min.js +0.03% 🔺 +0.02% 🔺 293,180 293,264 84,176 84,194

Generated by 🚫 dangerJS against 80e1413

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, it's never too late to solve a bug (1 year old low hanging fruit) ☺️.

@@ -41,7 +41,7 @@ const Step = React.forwardRef(function Step(props, ref) {
disabled = false,
index,
last,
orientation,
orientation = 'horizontal',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the default value? Can we expect it to be always provided by the parent Stepper component? (it's the same question for Step Button)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just code documentation

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in favor of not having this default value so that it doesn't hide a potential issue with the parent component.

@eps1lon eps1lon force-pushed the fix/stepper-vertical-button branch from 393baea to 80e1413 Compare June 29, 2019 11:54
@oliviertassinari
Copy link
Member

oliviertassinari commented Jul 13, 2019

I have added the label good first issue on #11857 (comment). I would hope somebody will take care of it at some point, maybe during https://hacktoberfest.digitalocean.com/.

@eps1lon eps1lon deleted the fix/stepper-vertical-button branch September 14, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: stepper This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StepButton of non-linear horizontal Stepper protrudes into content
3 participants