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 should prevent going to disabled steps #11444

Open
2 of 6 tasks
mjuniper opened this issue Feb 4, 2025 · 0 comments
Open
2 of 6 tasks

Stepper should prevent going to disabled steps #11444

mjuniper opened this issue Feb 4, 2025 · 0 comments
Labels
0 - new New issues that need assignment. ArcGIS Hub Issues logged by ArcGIS Hub team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.

Comments

@mjuniper
Copy link
Member

mjuniper commented Feb 4, 2025

Check existing issues

Actual Behavior

When layout is "horizontal-single" users can use the right arrow to navigate to disabled steps. The step content is not rendered but the stepper header renders the disabled stepper item heading.

Expected Behavior

Making a stepper item disabled should prevent navigation to that step.

Reproduction Sample

https://codepen.io/mjuniper/pen/jENoQmm?editors=1000

Reproduction Steps

  1. Visit https://codepen.io/mjuniper/pen/jENoQmm?editors=1000
  2. In the second calcite stepper, click the right arrow to navigate to the second stepper item.

Observe that the stepper header changes to display the second stepper item heading even though that stepper item is disabled.

Reproduction Version

2.13.2

Relevant Info

No response

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Hub

@mjuniper mjuniper added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Feb 4, 2025
@github-actions github-actions bot added ArcGIS Hub Issues logged by ArcGIS Hub team members. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Hub Issues logged by ArcGIS Hub team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

1 participant