patternfly / patternfly/patternfly-react
Bug - Sidebar - Hidden on smaller screens
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
Describe the problem
Sidebars will not be visible on the page when using a smaller screen and isManagedSidebar is false on the Page.
How do you reproduce the problem?
This can be seen on the PatternFly website: https://www.patternfly.org/components/page#vertical-navigation
- Reduce the size of the browser window until the sidebar automatically closes
- Click the hamburger button to try to open it again
- The sidebar does not open
Expected behavior
The sidebar should appear on the page as it does when using isManagedSidebar on a small screen.
Is this issue blocking you?
We cannot update our mobile app to the newest version of PatternFly due to this.
Screenshots
Before opening:
After trying to open: (Note part of the sidebar appearing on the left)
What is your environment?
- OS: Linux
- Browser: Firefox
- Version: 149.0.2
What is your product and what release date are you targeting?
Any other information?
Jira Issue: PF-4262
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先从 Page 组件及其侧边栏行为入手,然后缩小浏览器并使用汉堡按钮,复现 PatternFly 垂直导航示例中的问题。当 isManagedSidebar 为 false 时,侧边栏能在较小的屏幕上打开,并与其为 true 时的行为一致,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100