MegaMenu doesn't collapse/unfold on mobile
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, tailwindcss, typescript
- 领域
- frontend
调研方向
从 MegaMenu 默认示例开始,通过调整大小切换到折叠布局、打开 Navbar 并点击 Company 下拉菜单来复现问题。跟踪 React 组件中 Navbar 切换和下拉菜单的入口点,然后确认在移动设备上,下拉菜单内容仍显示在 Company 下方,同时不会折叠 Navbar。
由索引模型根据 Issue 内容生成。
描述
- I have searched the Issues to see if this bug has already been reported
- I have tested the latest version
Steps to reproduce
- Go to the mega menu default example.
- Resize the screen width to something that triggers the collapse (don't use the screen size icons on top the example)
- Tap on the Navbar toggle to unfold Navbar. Tap on the dropdown toggle ("Company").
Current behavior
The Navbar collapses again. The dropdown content is not visible.
Expected behavior
The Navbar should show the content of the dropdown below "Company".
Context
Tested in latest versions of Chrome and Safari on MacOS. Also applies to production code, not just examples which I only use for easier reproducibility.
I generally don't find any example of the MegaMenu dropdown working in flowbite-react. The main library examples work as expected.
Related issue #1403 (dropdown seems to not be production-ready in Next.js)
- 主要语言
- TypeScript
- 星标
- 2.2k
- 派生
- 504
- 平均合并
- 19 小时 16 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
themesberg/flowbite-react 的其他 Issue
-
fix(Carousel): can't give dynamic children to Carousel可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭:bug: bug
难度 2/5 1-3 小时 新手友好度 62/100
themesberg/flowbite-react#1469 · 1 条评论 ·
-
Pagination is broken if there is only one page可能已有人在做 @Mukilan1600 于 1021 天前认领。 未关闭:bug: bug confirmed good first issue
难度 2/5 1-3 小时 新手友好度 65/100
themesberg/flowbite-react#1048 · 7 条评论 · 1 个 reaction ·
-
:books: documentation help wanted
难度 5/5 一周以上 新手友好度 35/100
themesberg/flowbite-react#1696 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
themesberg/flowbite-react#1693 ·
-
NavbarCollapse closes when toggling a MegaMenuDropdown on mobile可能重新可做 @sarthak-11231 于 44 天前认领,目前没有进行中的 PR。 未关闭
难度 3/5 1-2 天 新手友好度 58/100
themesberg/flowbite-react#1686 · 2 条评论 ·
查看 themesberg/flowbite-react 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 86/100
ranxianglei/billion-context#5893 ·
维护者通常 1 天内回复
-
stringify escapes leading digits in pseudo-class arguments (:nth-child(1) becomes :nth-child(\31 ))未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
enhancement security severity:low
难度 2/5 1-3 小时 新手友好度 83/100
Battle-Cattle/BCUK-Bot-4#959 ·
维护者通常 1 天内回复
-
account-pool bug gui
难度 2/5 1-3 小时 新手友好度 76/100
lidge-jun/opencodex#8286 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复