Skip to content

Fix dashboard tab scroll jump#2850

Open
RabbiIslamRony wants to merge 2 commits into
sovware:developmentfrom
RabbiIslamRony:fix/dashboard-tab-scroll-jump
Open

Fix dashboard tab scroll jump#2850
RabbiIslamRony wants to merge 2 commits into
sovware:developmentfrom
RabbiIslamRony:fix/dashboard-tab-scroll-jump

Conversation

@RabbiIslamRony
Copy link
Copy Markdown
Member

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Summary

  • Prevent dashboard tab clicks from triggering native hash scrolling.
  • Preserve hash-based deep linking for dashboard tabs.
  • Update the dashboard URL hash with History API without moving the page scroll position.
  • Use the clicked tab link consistently so nested icon/text clicks behave correctly.

Testing

  • Confirmed changed files are limited to dashboard tab logic:
    • assets/src/js/public/lib/dashTab.js
    • assets/js/directorist-dashboard.js
  • Manual browser testing should verify tab clicks, refresh with hash URLs, and sidebar/mobile dashboard navigation.

Any linked issues

Fixes #
https://taiga-sovware-u10698.vm.elestio.app/project/directorist/issue/2919

Checklist

@RabbiIslamRony RabbiIslamRony force-pushed the fix/dashboard-tab-scroll-jump branch from dbfceb3 to 326df00 Compare May 11, 2026 06:18
@Armanul46 Armanul46 added this to the v8.7.2 milestone May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants