Skip to content
Discussion options

You must be logged in to vote

Hi, the event.stopImmediatePropagation method 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:

If several listeners are attached to the same element for the same event type, they are called in the order in which they were added. If stopImmediatePropagation() is invoked during one such call, no remaining listeners will be called, either on that element or any other element.

So, you do have multiple onDblClick …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jk-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants