slick-table 1.1.50 → 1.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.1.50",
3
+ "version": "1.1.51",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",
@@ -29,7 +29,7 @@ export abstract class Autocomplete implements Editor {
29
29
  }
30
30
  createList() {
31
31
  this.list = document.createElement("div");
32
- const container = document.getElementById("root");
32
+ const container = document.querySelector("body");
33
33
  if (!container) return;
34
34
  container.appendChild(this.list);
35
35
  this.list.setAttribute("tabIndex", "0"); // this.input.addEventListener("blur", ...) doesn't work without it