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

[BUG]: SubwayNav Control display mode does not affect child items #460

Open
niklaswimmer opened this issue Apr 22, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working code Issue is related to a Power Apps code component Component: SubwayNav

Comments

@niklaswimmer
Copy link

niklaswimmer commented Apr 22, 2024

Describe the bug
When the display mode of a SubwayNav Control is set to Disabled, it is no longer possible to select the top level items - which is expected. However, it is still possible to select the child items and therefore change the state of the control.

To Reproduce
Steps to reproduce the behavior:

  1. Add a SubwayNav Control to your Application
  2. Set its items property to something like Table({ItemKey:"toplevel1",ItemLabel:"Top Level 1",ItemState:"CurrentWithSubsteps"},{ItemKey:"child1",ItemLabel:"Child 1",ItemState:"Current",ParentItemKey:"toplevel1"},{ItemKey:"child2",ItemLabel:"Child 2",ParentItemKey:"toplevel1"},{ItemKey:"toplevel2",ItemLabel:"Top Level 2"})
  3. Set the display mode to DisplayMode.Disabled
  4. observe how it is no longer possible to select the top level items but still possible to switch between the two child items

Expected behavior
If the SubwayNav Control is in disabled mode (or view, I do not quite understand why it stays interactive in view mode but that is another problem I guess) no part of the control should be selectable.

AB#2948

@niklaswimmer niklaswimmer added bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Apr 22, 2024
@denise-msft denise-msft added code Issue is related to a Power Apps code component and removed ⚠️ needs triage Has not been triaged by the team yet. labels May 1, 2024
@denise-msft denise-msft added this to the Creator Kit - May 2024 milestone May 1, 2024
@denise-msft denise-msft self-assigned this Jun 19, 2024
@denise-msft
Copy link
Member

Thank you for reporting this issue. We will prioritize fixing this as resources permit and will provide an update when possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code Issue is related to a Power Apps code component Component: SubwayNav
Projects
None yet
Development

No branches or pull requests

2 participants