[Eco Bounty] Sidebar jumps to top when expanding – loses scroll position

Wallet Address:
0x0f06443fbfc0Eb7D1f1c98DC74005546e2f70AAb

Bug Description:

When the user scrolls to the bottom of the sidebar and collapses the sidebar using the Collapse icon, the behavior is fine.

However, when expanding the s

idebar again, it does not retain the full scroll position. Instead, the sidebar jumps upward by a few sections, pushing the previously visible items out of view. This forces the user to scroll down again, disrupting the experience.

Device & Testing Environment:
Device: Dell Laptop
OS: Ubuntu
Browser: Chrome

Steps to Reproduce:

  1. Visit https://hub.iotex.io

  2. Scroll the sidebar to the bottom

  3. Click the Collapse Sidebar icon

  4. Click the Expand Sidebar icon again

  5. Notice the sidebar content is partially reset upward

Actual Result:
Sidebar scrolls up by a few sections when reopened, causing user to lose context and have to scroll again

Expected Result:
Sidebar should retain exact scroll position after being collapsed and expanded, avoiding any content displacement.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
💡

New Issue

Date

7 months ago

Author

klrt0120

Subscribe to post

Get notified by email when there are changes.