patternfly / patternfly/patternfly-react

Bug - [Wizard: Steps sidebar] - [The step selector does not work as expected]

未关闭
#11,516 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Stale
主要语言
TypeScript
星标
862
派生
392
平均合并
4 天 8 小时
30 天内合并 PR
9

描述

Wizard step navigation on a small window does not utilize the expected interaction

This is an issue with

  • Patternfly 5
  • Patternfly 6
  • other

Please give a clear and concise description of the problem. Which components are affected?
When a user has a wizard open at a small size the menu shifts to a dropdown. The user clicks on the dropdown to select a different step in the wizard. But the menu doesn't automatically close after new selection has been made. The user has to reclick the dropdown to close menu. This interaction is not intuitive and doesn't match the other PF selection/menu experiences.

How do you reproduce the problem?
Open wizard and reduce screen size until wizard steps appear in a dropdown. Click the dropdown to open the menu, click a different step.

Expected behavior
A clear and concise description of the expected behavior.
I would expect the menu to close automatically once the user has clicked on a step from the menu list. This would match the current PF6 behavior for dropdowns and context selectors.

Is this issue blocking you?
List the workaround if there is one.

Screenshots
If applicable, add screenshots to help explain the issue.

https://github.com/user-attachments/assets/6e02d272-072d-4a62-8152-f81c78805df5

Image

What is your environment?

  • OS: macOS Sonoma
  • Browser: Chrome
  • Version: 133.0.6943.53

What is your product and what release date are you targeting?
InstructLab/RHELAI MVP

Any other information?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

通过打开 wizard、缩小窗口直到其步骤变成 dropdown,然后选择其他步骤来复现该问题。跟踪 PatternFly 6 wizard step-selector 的实现及其测试;完成的标准是选择后菜单关闭,同时新步骤仍保持选中状态。

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。