Skip to content

Commit 7babd47

Browse files
committed
Fix drag propagation issue
1 parent 9c5882e commit 7babd47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/web/app/editors/stepper/MissingStep.re

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ module View = {
497497
~attrs=[
498498
Attr.classes(["proof-button"]),
499499
Attr.on_pointerdown(_ => Virtual_dom.Vdom.Effect.Stop_propagation),
500+
Attr.on_pointerup(_ => Virtual_dom.Vdom.Effect.Stop_propagation),
501+
Attr.on_mousemove(_ => Virtual_dom.Vdom.Effect.Stop_propagation),
500502
Attr.on_click(_ =>
501503
Ui_effect.Many([
502504
callback,
@@ -876,6 +878,12 @@ module View = {
876878
Attr.on_pointerdown(_ =>
877879
Virtual_dom.Vdom.Effect.Stop_propagation
878880
),
881+
Attr.on_pointerup(_ =>
882+
Virtual_dom.Vdom.Effect.Stop_propagation
883+
),
884+
Attr.on_mousemove(_ =>
885+
Virtual_dom.Vdom.Effect.Stop_propagation
886+
),
879887
],
880888
[buttons]
881889
@ {

0 commit comments

Comments
 (0)