-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Conversation
Details of bundle changes.Comparing: ffb125d...80e1413
|
There was a problem hiding this 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', |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just code documentation
There was a problem hiding this comment.
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.
393baea
to
80e1413
Compare
I have added the label |
Closes #11857
Demo is low-effort content for a friday. Just had to change spacing for vertical buttons.