cx 24.8.3 → 24.8.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.
package/dist/widgets.js CHANGED
@@ -4325,8 +4325,15 @@ function tooltipParentWillUnmount(parentInstance) {
4325
4325
  }
4326
4326
  }
4327
4327
  function tooltipParentDidUpdate(element, parentInstance, tooltip) {
4328
+ var _instance$data;
4328
4329
  var instance = getTooltipInstance(element, parentInstance, tooltip);
4329
- if (instance && instance.visible && instance.data.alwaysVisible && instance.tooltipComponent)
4330
+ if (
4331
+ instance &&
4332
+ instance.visible &&
4333
+ (_instance$data = instance.data) != null &&
4334
+ _instance$data.alwaysVisible &&
4335
+ instance.tooltipComponent
4336
+ )
4330
4337
  instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
4331
4338
  }
4332
4339
  function enableTooltips() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "24.8.3",
3
+ "version": "24.8.4",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "main": "index.js",
6
6
  "jsnext:main": "src/index.js",
@@ -279,7 +279,7 @@ function tooltipParentWillUnmount(parentInstance) {
279
279
 
280
280
  function tooltipParentDidUpdate(element, parentInstance, tooltip) {
281
281
  let instance = getTooltipInstance(element, parentInstance, tooltip);
282
- if (instance && instance.visible && instance.data.alwaysVisible && instance.tooltipComponent)
282
+ if (instance && instance.visible && instance.data?.alwaysVisible && instance.tooltipComponent)
283
283
  instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
284
284
  }
285
285