cms icon indicating copy to clipboard operation
cms copied to clipboard

Sidebar Should be Scrollable Independently from Page Content || UX-UI issue

Open CodeforAbj opened this issue 11 months ago • 3 comments

Description: Currently, the sidebar on the page scrolls along with the entire page content, making it difficult to navigate when the content is lengthy. To address this, I've locally implemented a solution using CSS to ensure that the sidebar has independent scrolling behavior.

Expected Behavior: The sidebar should have its own scroll bar and should scroll independently from the rest of the page content.

Actual Behavior: Currently, the sidebar scrolls along with the entire page content.

Additional Information: I have temporarily resolved this issue locally by adding the following CSS properties to the sidebar in inspect window:

element { height: 100vh; } image

CodeforAbj avatar Mar 06 '24 17:03 CodeforAbj

I am thinking to solve this issue by assigning "fixed" property to the sidebar and position it from the bottom. This way sidebar will have an independent scroll and this issue can be tackled.

ramanuj07 avatar Mar 06 '24 20:03 ramanuj07

@CodeforAbj @ramanuj07 overflow-y-scroll with fixed height of the sidebar can be used to prevent that. Any suggestions?

Screenshot 2024-03-06 215252

ayush9h avatar Mar 07 '24 04:03 ayush9h

@Masood-ul-Rehman I am not a mod here, so can't assign by myself

CodeforAbj avatar Mar 07 '24 17:03 CodeforAbj