Skip to content

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 considered for next 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 considered for next 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