@gravity-ui/dashkit 8.1.0-beta.3 → 8.1.0-beta.4

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.
@@ -135,7 +135,7 @@ class GridLayout extends react_1.default.PureComponent {
135
135
  }
136
136
  renderTemporaryPlaceholder() {
137
137
  const { temporaryLayout, dragOverPlugin, noOverlay, draggableHandleClassName } = this.context;
138
- if (!temporaryLayout) {
138
+ if (!temporaryLayout || !dragOverPlugin) {
139
139
  return null;
140
140
  }
141
141
  const id = constants_1.TEMPORARY_ITEM_ID;
@@ -132,7 +132,7 @@ class GridLayout extends React.PureComponent {
132
132
  }
133
133
  renderTemporaryPlaceholder() {
134
134
  const { temporaryLayout, dragOverPlugin, noOverlay, draggableHandleClassName } = this.context;
135
- if (!temporaryLayout) {
135
+ if (!temporaryLayout || !dragOverPlugin) {
136
136
  return null;
137
137
  }
138
138
  const id = TEMPORARY_ITEM_ID;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/dashkit",
3
- "version": "8.1.0-beta.3",
3
+ "version": "8.1.0-beta.4",
4
4
  "description": "Library for rendering dashboard grid layout",
5
5
  "license": "MIT",
6
6
  "repository": {