patternfly / patternfly/patternfly-react

Bug - Sidebar - Hidden on smaller screens

未关闭
#12,439 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

  1. Reduce the size of the browser window until the sidebar automatically closes
  2. Click the hamburger button to try to open it again
  3. 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:

image

After trying to open: (Note part of the sidebar appearing on the left)

image

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

贡献指南

打开贡献指南

从这里开始

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

调研方向

先从 Page 组件及其侧边栏行为入手,然后缩小浏览器并使用汉堡按钮,复现 PatternFly 垂直导航示例中的问题。当 isManagedSidebar 为 false 时,侧边栏能在较小的屏幕上打开,并与其为 true 时的行为一致,即视为完成。

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

评估

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

把新 issue 发到你的邮箱

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