Repository navigation
|
I have following code for experimenting .stopImmediatePropagation When I double click the child div 1 the console log says: API docs on Why is then this line:
BTW: When I do the exact same test but change the Laminar version is 17.1.0 Thank you for your support! |
Replies: 1 comment
|
Hi, the This documentation is not exactly accurate, or at least not complete. If you check MDN docs, they say:
So, you do have multiple onDblClick event listeners on the same div, and the one with Note that Laminar offers its own Unrelatedly, also note that you don't need to call |
Hi, the
event.stopImmediatePropagationmethod you're calling is a native browser method. The documentation for it that you're quoting comes from scalajs-dom, which is a scala.js interface to such native browser APIs. So, it's not Laminar's documentation, is what I'm saying.This documentation is not exactly accurate, or at least not complete. If you check MDN docs, they say:
So, you do have multiple onDblClick …