It looks like, that the element of CodeMirror 6 block the native events of mouseup
event.
Once I click on a slider, it will never leave it. I cannot interact with anything
This slider is just a decoration inside the CodeMirror
The effect can be replicated here
if you click many times, it sticks to a slider and will never leave
In principle I can manually add eventListeners to a Dom element, but I have not idea how to pass it to the default browser events standing for the range operations.