-
Notifications
You must be signed in to change notification settings - Fork 77
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
Calcite Stepper: Issues with disabled state, change events, and styles in v2.0.0 #8397
Comments
Created a vanilla repro case for comparison purposes based on @noahmulfinger's sample. Prior to the responsiveness updates, disabled steps could not be accessed, so we need to handle this path as well. There may be some UI/UX tweaks needed as well. cc @anveshmekala @SkyeSeitz @ashetland |
Hi @noahmulfinger , Thanks for testing the new stepper single view layout. Some of the UX behavior is preserved to match the existing workflow. Regarding the change event not emitted when switching to first step, i am able to reproduce this and will work on the fix. For the other issues mentioned , some of them can be added as enhancement.
|
@anveshmekala Thanks for the info. For item 3, I still see the For item 4, personally I think the current behavior of hiding the content for disabled steps is fine, as long as the step isn't able to be selected (in reference to item 1). For reference, we are using the stepper for a set of forms in a workflow within a modal. The user has to fill out a form to continue to the next step. This is why the single view mode next/previous buttons not being disabled is not ideal. But not sure if that's a recommended/expected use case for the stepper. |
i see the issue with Regarding the previous/next step, the use case mentioned makes a good point to disable previous and next step. We'll add that as a opt-in feature. Thanks @noahmulfinger |
Hi @noahmulfinger , the dark-mode issue is fixed with |
Installed and assigned for verification. |
🍰 Verified locally on Screen.Recording.2023-12-15.at.10.58.46.AM.mov |
Check existing issues
Actual Behavior
I found the following issues when testing the stepper on calcite-components v2.0.0. They are reproducible in the linked repro sample.
onCalciteStepperItemChange
event does not emit when switching to a step that is disabled, or when switching to the first step (using the step action buttons)heading
s for non-disabled stepper items are not visible.Expected Behavior
onCalciteStepperItemChange
should always emit when a step changes.Reproduction Sample
https://codesandbox.io/p/sandbox/runtime-morning-tqdjmw?file=%2Fsrc%2FApp.js%3A15%2C40
Reproduction Steps
Reproduction Version
2.0.0
Relevant Info
Tested in Chrome 120.0.6099.71 and Firefox 122.0a1
Regression?
No response
Priority impact
p1 - need for current milestone
Impact
Needed for updating the underlying theme functionality for developer website.
Calcite package
Esri team
ArcGIS Developer Experience
The text was updated successfully, but these errors were encountered: