Skip to content

Commit 9a0aca9

Browse files
committed
Update live-view.js
1 parent a92ffb1 commit 9a0aca9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

live-view/live-view.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ function addBottomSwipeListener() {
456456

457457
// select range
458458

459+
cd.focus();
460+
459461
const sel = window.getSelection();
460462

461463
sel.setBaseAndExtent(range.startContainer, range.startOffset, range.endContainer, range.endOffset);

0 commit comments

Comments
 (0)