top | item 41616222 (no title) kchr | 1 year ago This could probably be fixed by tracking whether the mousedown event was started inside or outside the dialog, and only close the dialog if the mousedown started outside it. discuss order hn newest wruza|1 year ago It’s called a cursor grab and in the web exists as el.setPointerCapture().https://developer.mozilla.org/en-US/docs/Web/API/Element/set...
wruza|1 year ago It’s called a cursor grab and in the web exists as el.setPointerCapture().https://developer.mozilla.org/en-US/docs/Web/API/Element/set...
wruza|1 year ago
https://developer.mozilla.org/en-US/docs/Web/API/Element/set...