themesberg / themesberg/flowbite-react
Nested sidebar collapse keep getting auto collapse whenever sidebar link changes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
I am using with <Sidebar.collapse /> but in nested format
like <Sidebar.collapse > <Sidebar.collapse /> </Sidebar.collapse>
Whenever i am clicking on any sidebar option nested sidebar collapse items are auto collapsing
Expected behavior
Changing/Clicking sidebar option should persist sidebar collapse item previous state(show/hide)
System information:
Device: Asus vivobook s14
Resolution: 1920*1080
OS: Window 11
Browser: Chrome
Version: 113.0.5672.93
Project information:
Tailwind: 3.3.2
Flowbite: 1.6.5
Flowbite React: 0.4.4
Type: npx create-next-app@latest
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the nested <Sidebar.collapse> usage described in the issue and reproduce it with Flowbite React 0.4.4, Tailwind 3.3.2, and the provided Next.js setup. Done means clicking a sidebar option no longer collapses nested items and their previous show/hide state persists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, react, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100