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

Add scrollparent 2.0.1 dev dependency #634

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Add scrollparent 2.0.1 dev dependency #634

merged 1 commit into from
Aug 23, 2024

Conversation

adhityamamallan
Copy link
Member

TL;DR - locking scrollparent version at 2.0.1 as a quick fix for #632

The library vue-virtual-scroller 1.0.10 has some issues with scrollparent 2.1.0, which is the latest compatible version that gets automatically installed when cadence-web is used as an NPM package (and thus, the lockfile is absent).

Upgrading to vue-virtual-scroller's latest stable release 1.1.2 would fix this problem, but doing so introduces a bug with the history scroller where the autoscroll breaks, snapping the history view all the way up whenever any history event is selected. (more context: #624)

Fixing the snap-up issue with vue-virtual-scroller 1.1.2 would need us to rewrite a large portion of the History side panel code, so we are downgrading scrollparent as a quick fix for the issue.

@Assem-Uber Assem-Uber merged commit 3432bb2 into master Aug 23, 2024
7 checks passed
@Assem-Uber Assem-Uber deleted the scrollparent branch August 23, 2024 11:25
Assem-Uber pushed a commit that referenced this pull request Nov 7, 2024
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