We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a15e5f commit f9c6533Copy full SHA for f9c6533
js/lib/widget.js
@@ -240,7 +240,7 @@ export class RemoteFrameBufferView extends DOMWidgetView {
240
// This is what makes the JS PointerEvent so great. We can enable mouse capturing
241
// and we will receive mouse-move and mouse-up even when the pointer moves outside
242
// the element. Best of all, the capturing is disabled automatically!
243
- that.focus_el.focus();
+ that.focus_el.focus({ preventScroll: true, focusVisble: false });
244
that.img.setPointerCapture(e.pointerId);
245
that._pointers[e.pointerId] = e;
246
let event = create_pointer_event(that.img, e, that._pointers, 'pointer_down');
0 commit comments