You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
firefox - the contextmenu gets rendered after the browser's default context menu has rendered.
chromium - only the browser's default context menu is rendered.
The async-create demo builds the items immediately upon click event. I think the common use case is that the items take a while to construct and that $this.contextmenu() is fired when they're ready.
Also, the captured event is mouseup, which means it doesn't translate to common cases where folks need mouseup and contextmenu to be different. Switching the event to contextmenu would address this but you theen need to disable the contextmenu handler during execution because the call to $this.contextmenu() triggers it again.
#8 addresses these points with a new demo, which could be moved to async-create.md to remedy the above issues.
The text was updated successfully, but these errors were encountered:
In documentation/demo/async-create, the button says "right click me" but doesn't behave as expected in:
The async-create demo builds the items immediately upon click event. I think the common use case is that the items take a while to construct and that
$this.contextmenu()
is fired when they're ready.Also, the captured event is
mouseup
, which means it doesn't translate to common cases where folks needmouseup
andcontextmenu
to be different. Switching the event tocontextmenu
would address this but you theen need to disable thecontextmenu
handler during execution because the call to$this.contextmenu()
triggers it again.#8 addresses these points with a new demo, which could be moved to async-create.md to remedy the above issues.
The text was updated successfully, but these errors were encountered: