Gutter example does not toggle some breakpoints

The gutter example (awesome btw), CodeMirror Gutter Example, has a problem: the breakpoints can be toggled only for lines preceding the active line.

Copy/pasting the gutter code in a separate project has the same problem. Logging indicates that domEventHandlers.mousedown is not invoked for lines after the active line.

On a Mac using Chrome or Safari. Firefox works fine.

Thanks for noticing that. Should be fixed with @codemirror/gutter 0.19.3.

1 Like