diagram-js
Advanced tools
Changelog
11.1.0
FEAT
: keyboard handles events on bubble phase instead of capture phase (#708)FEAT
: keyboard ignores events that got their propagation stopped or their default prevented (#708)FIX
: popup menu remains open after clicking on it (#702)FIX
: correctly listen for <ESCAPE> to cancel dragging (#709)FIX
: ensure arrow keys navigation works consistently in popup menu (#701)FIX
: handle popup menu header selection properly (#711)CHORE
: add djs-popup-
prefix to popup menu classes (#703)Changelog
11.0.0
FEAT
: drop KeyboardEvent#keyCode
in favor of code
(#681)FEAT
: introduction of .djs-parent
class to canvas and popup menu root (#687)FEAT
: new popupMenu UI featuring menu and group titles, search, entry descriptions and documentation urls (#686, #695, #697, #699)FEAT
: provide UI utilities through diagram-js/lib/ui
(#692)DOCS
: update popup menu provider example (#678)DOCS
: correct ElementRegistry
method signatures (#698)DEPS
: bump utility dependencies.djs-container
). The global selector for both the canvas and popup menu roots is now .djs-parent
.KeyboardEvent#keyCode
.
Use a polyfill (e.g. keyboardevent-key-polyfill) if you need to support old browsers.