Comparing version 6.0.0 to 6.0.1
@@ -9,2 +9,7 @@ # Changelog | ||
## 6.0.1 | ||
* `FIX`: correctly position context menu on scrolled table ([ddd59e6](https://github.com/bpmn-io/table-js/commit/ddd59e6009a30422732eae56f0dee7466f99943a)) | ||
* `FIX`: auto-close context menu only when clicked outside of menu ([8f29911](https://github.com/bpmn-io/table-js/commit/8f29911d5ee7152552661f78aaa77a784ad38712)) | ||
## 6.0.0 | ||
@@ -55,2 +60,2 @@ | ||
Check `git log` for earlier history. | ||
Check `git log` for earlier history. |
@@ -163,3 +163,3 @@ import { createVNode, createComponentVNode } from "inferno"; | ||
_defineProperty(_assertThisInitialized(_this2), "onGlobalClick", function (event) { | ||
_defineProperty(_assertThisInitialized(_this2), "onGlobalMouseDown", function (event) { | ||
_this2.checkClose(event.target); | ||
@@ -188,7 +188,7 @@ }); | ||
if (node) { | ||
_this2.updatePosition(); | ||
if (autoFocus) { | ||
ensureFocus(node); | ||
} | ||
_this2.updatePosition(); | ||
} | ||
@@ -241,3 +241,3 @@ }); | ||
/** | ||
* Handle global (window) click event. | ||
* Handle global (window) mousedown event. | ||
*/ | ||
@@ -250,3 +250,3 @@ | ||
document.addEventListener('keydown', this.onGlobalKey); | ||
document.addEventListener('click', this.onGlobalClick); | ||
document.addEventListener('mousedown', this.onGlobalMouseDown); | ||
} | ||
@@ -258,3 +258,3 @@ }, { | ||
document.removeEventListener('keydown', this.onGlobalKey); | ||
document.removeEventListener('click', this.onGlobalClick); | ||
document.removeEventListener('mousedown', this.onGlobalMouseDown); | ||
} | ||
@@ -261,0 +261,0 @@ }, { |
{ | ||
"name": "table-js", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "all": "run-s lint test build", |
Sorry, the diff of this file is not supported yet
239750