Skip to content

d3-zoom and react-select conflict #3602

Answered by Fil
tunesmith asked this question in Q&A
Discussion options

You must be logged in to vote

The problem now is that the Select menu has a button, which is… an svg. d3.select("svg") will catch it, and the whole code allows you to zoom the dots … by doing the zoom gesture on that button (which is kinda fun). To fix, add a class or a unique identifier to the target svg and to the d3 code.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tunesmith
Comment options

Answer selected by tunesmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3601 on November 13, 2022 20:06.