Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2414 - "See proposal" link should always lead to proposal #2421

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SebinSong
Copy link
Collaborator

closes #2414

I realised there is a same issue in this in-app notification UI too, so made a fix there as well.

@SebinSong SebinSong self-assigned this Nov 13, 2024
Copy link

cypress bot commented Nov 13, 2024

group-income    Run #3387

Run Properties:  status check passed Passed #3387  •  git commit 48492f93b5 ℹ️: Merge 3f978a022faf888b59ce4cf08382fa59eae586a5 into 3b142e94445de8ab49b435e8d4bd...
Project group-income
Branch Review sebin/task/#2414-see-proposal-link-bug
Run status status check passed Passed #3387
Run duration 09m 12s
Commit git commit 48492f93b5 ℹ️: Merge 3f978a022faf888b59ce4cf08382fa59eae586a5 into 3b142e94445de8ab49b435e8d4bd...
Committer Sebin Song
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 111
View all changes introduced in this branch ↗︎

const targetEl = this.$refs.pList.querySelector(`[data-proposal-hash="${targetId}"]`)

targetEl && targetEl.scrollIntoView({ block: 'center' })
}, 150)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to do this without a timeout?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The delay is actually not necessary here. So replaced it with nextTick() instead.

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.

"See proposal" link should always lead to proposal
2 participants