Skip to content

Commit 321e69f

Browse files
committed
Fix drag propagation issue
1 parent 875c7cc commit 321e69f

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
@@ -496,6 +496,8 @@ module View = {
496496
~attrs=[
497497
Attr.classes(["proof-button"]),
498498
Attr.on_pointerdown(_ => Virtual_dom.Vdom.Effect.Stop_propagation),
499+
Attr.on_pointerup(_ => Virtual_dom.Vdom.Effect.Stop_propagation),
500+
Attr.on_mousemove(_ => Virtual_dom.Vdom.Effect.Stop_propagation),
499501
Attr.on_click(_ =>
500502
Ui_effect.Many([
501503
callback,
@@ -875,6 +877,12 @@ module View = {
875877
Attr.on_pointerdown(_ =>
876878
Virtual_dom.Vdom.Effect.Stop_propagation
877879
),
880+
Attr.on_pointerup(_ =>
881+
Virtual_dom.Vdom.Effect.Stop_propagation
882+
),
883+
Attr.on_mousemove(_ =>
884+
Virtual_dom.Vdom.Effect.Stop_propagation
885+
),
878886
],
879887
[buttons]
880888
@ {

0 commit comments

Comments
 (0)