Skip to content

Commit 23b2d93

Browse files
committed
monaco: Fixes crash when dropping files on editor (closes #1160)
1 parent 4e4484e commit 23b2d93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CodeApp/Managers/WebViewBase.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class WebViewBase: KBWebViewBase {
9797
}
9898

9999
if let interactionView = findInteractionView(in: subviews) {
100+
interactionView.pasteConfiguration = nil
100101
for interaction in interactionView.interactions {
101102
if interaction is UIDragInteraction || interaction is UIDropInteraction {
102103
interactionView.removeInteraction(interaction)

0 commit comments

Comments
 (0)