Skip to content

fix wrong scrollBoxY value for legend scroll#7067

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

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.

@gvwilsongvwilson assigned gvwilson and unassigned gvwilsonJul 26, 2024
@gvwilsongvwilson added community community contribution fix fixes something broken P2 considered for next cycle labels Aug 8, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Labels
communitycommunity contributionfixfixes something brokenP2considered for next cycle
3 participants
@Lexachoc@gvwilson@marthacryan
close