BUG - Hidden "FAQ" menu items in sidebar on desktop screen
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 11.8k
- 派生
- 7.9k
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 11
描述
Issue
Hi, I have noticed an issue with the sidebar section on the desktop screen. The FAQ menu contains two items(Versioning Policy and Virtual DOM and Internals) that are hidden or not shown properly scroll down to the bottom.
Steps To Reproduce
Although there may be different approaches to fix this issue I have found one of them mentioned below. Link of the following code to update.
- from
[media.greaterThan('small')]: { position: 'fixed', zIndex: 2, // previous code // height: 'calc(100vh - 60px)', // updated code height: calc(100vh - 110px); overflowY: 'auto', WebkitOverflowScrolling: 'touch', marginRight: -999, paddingRight: 999, backgroundColor: '#f7f7f7', opacity: '1 !important', }, [media.size('small')]: { // previous code // height: 'calc(100vh - 40px)', // updated code height: calc(100vh - 110px); }, [media.between('medium', 'large')]: { // previous code // height: 'calc(100vh - 50px)', // updated code height: calc(100vh - 110px); },
The current behavior

The expected behavior

贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/components/StickyResponsiveSidebar/StickyResponsiveSidebar.js 第 91-109 行附近开始,检查侧边栏在桌面端和响应式断点下的高度与溢出行为。验证在受影响的屏幕尺寸上滚动到底部时,FAQ 条目 Versioning Policy 和 Virtual DOM and Internals 仍然可见且可访问。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100