Skip to content

Sidebar hides when navigating to /pomodoro or /todolist #196

@kushagramodanwal

Description

@kushagramodanwal

Issue: Sidebar hides when navigating to /pomodoro or /todolist

Description:
When navigating to the /pomodoro or /todolist routes, the main sidebar disappears. The sidebar is visible on other pages, but not on these two routes.

Expected Behavior:
The sidebar should remain visible and fixed on the left side across all routes, including /pomodoro and /todolist, for consistent navigation.

Steps to Reproduce:

Open https://devsync-one.vercel.app/

Navigate to /pomodoro → Sidebar disappears

Navigate to /todolist → Sidebar also disappears

Expected Result:
The sidebar should stay visible on both pages, like on the dashboard or other sections.

Actual Result:
The sidebar hides only on /pomodoro and /todolist.

Possible Cause (for developers):
These routes might not be wrapped inside the main layout component that includes the sidebar.
In React apps using React Router, this happens when some routes are defined outside the layout that holds persistent UI components.

Suggested Fix:
Ensure that all routes share a common layout that contains the sidebar

Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions