sciter-sdk / go-sciter

Golang bindings of Sciter: the Embeddable HTML/CSS/script engine for modern UI development
https://sciter.com
2.57k stars 268 forks source link

Click event should be triggered only once #296

Closed znbang closed 3 years ago

znbang commented 3 years ago

The button click event listener is triggered in both sinking and bubbling phase. Should be triggered only once.

pravic commented 3 years ago

Makes sense for a default handler. Also it should return true to inform that the event is handled.