d3-simple-slider not moving

Hello. Notebooks that use d3-simple-slider seem to be having an issue in that the slider no longer moves. (e.g. https://observablehq.com/@mbostock/hello-d3-simple-slider) Has d3-simple-slider been changed recently? Thanks.

2 Likes

Yes - looking at the code, it appears to be updated to work with D3’s new event model. I guess the easy fix is to change some 5s to 6s:

1 Like

Thank you for this quick fix!

1 Like

In case others have this issue an easier fix was to give a more specific version number for the slider. d3-simple-slider@1.10.0 works with d3@5

(Updating to d3@6 required some additional changes in what I was doing.)