Add drag.filter.
Add drag.filter.

This hook allows you to control which mousedown or touchstart events will
trigger a drag. By default, the drag behavior now ignores mousedown on secondary
buttons; these are likely intended for the native context menu.

d3/d3-drag