Skip to content

Fix unnecessary scrolling to Discussion tab #3066

@maxceem

Description

@maxceem

During work on this issue #2177 which has been done in this PR #3035

We almost fixed one issue: if we have some URL hash on Project Plan, every time we open/close any Phase tab like Timeline, Discussions, Specification it scrolls to the element pointed in the URL hash.

After the fix, the bug does only happen if we have some URL to the phase post and open Discussion with that post (which is in the hash), it automatically scrolls to the Discussion tab https://monosnap.com/file/YdL8fjQmUABCO01NrwUCalSDn2gp1r.

Expected behavior: it shouldn't scroll to the Discussion tab when we open it.

Note, that this issue is very rare, as we have to open the same Discussion tab which is pointed in the hash. Also, it's quite minor and it doesn't distract user experience as we scroll to the Discussion user want to see. So it almost a feature.

List it here to not forget it in case we would like to fix it.

Metadata

Metadata

Assignees

No one assigned

    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