-
Notifications
You must be signed in to change notification settings - Fork 80
fix(stepper): selects next enabled stepper-item when first one is disabled #8004
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
Changes from 2 commits
05fafb0
d5f0a48
0294863
835ef37
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -212,3 +212,9 @@ export const verticalLayout_TestOnly = (): string => html`<calcite-stepper layou | |
>Step 1 Content Goes Here</calcite-stepper-item | ||
> | ||
</calcite-stepper>`; | ||
|
||
export const firstItemDisabled_TestOnly = (): string => html`<calcite-stepper> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this test if the E2E test already covers it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since there are visual differences for selected stepper-item it is better to have a screenshot. I think we can utilize existing |
||
<calcite-stepper-item heading="item1" disabled>1</calcite-stepper-item> | ||
<calcite-stepper-item heading="item2">2</calcite-stepper-item> | ||
<calcite-stepper-item heading="item3">3</calcite-stepper-item> | ||
</calcite-stepper>`; |
Uh oh!
There was an error while loading. Please reload this page.