-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Conversation
group-income Run #3387
Run Properties:
|
Project |
group-income
|
Branch Review |
sebin/task/#2414-see-proposal-link-bug
|
Run status |
Passed #3387
|
Run duration | 09m 12s |
Commit |
48492f93b5 ℹ️: Merge 3f978a022faf888b59ce4cf08382fa59eae586a5 into 3b142e94445de8ab49b435e8d4bd...
|
Committer | Sebin Song |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
10
|
Skipped |
0
|
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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work on this as well @SebinSong!!
closes #2414
I realised there is a same issue in this in-app notification UI too, so made a fix there as well.