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

fix wrong scrollBoxY value for legend scroll #7067

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

Conversation

Lexachoc
Copy link
Contributor

Fix #7066

I would also prefer to disable scrolling for the parent, i.e. not detect whether it reaches the top or bottom, but simply call d3.event.preventDefault(); at the end.

if(scrollBoxY !== 0 && scrollBoxY !== scrollBoxYMax) {
d3.event.preventDefault();
}

But that is not related to the bug, so I'll leave it for discussion.

@gvwilson gvwilson assigned gvwilson and unassigned gvwilson Jul 26, 2024
@gvwilson gvwilson added community community contribution fix fixes something broken P2 needed for current cycle labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community community contribution fix fixes something broken P2 needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scrolling on the legend will cause the parent to scroll
3 participants