From ec862ffc322ea7f6a96308e3c312d1762bf85c6a Mon Sep 17 00:00:00 2001 From: zoid Date: Fri, 21 Jun 2024 08:01:11 +0400 Subject: [PATCH] preventDefault() was added to prevent default click --- node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/node.go b/node.go index 50dc6ce..ccce1fa 100644 --- a/node.go +++ b/node.go @@ -444,6 +444,7 @@ func (e Node) Click() (err error) { if (b.isTrusted && d(b.target)) { a('') } else { + b.preventDefault() b.stopImmediatePropagation() a('target overlapped') }