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/manifest.js +607 -607
- package/dist/widgets.js +8 -1
- package/package.json +1 -1
- package/src/widgets/overlay/Tooltip.js +1 -1
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 (
|
|
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
|
@@ -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
|
|
282
|
+
if (instance && instance.visible && instance.data?.alwaysVisible && instance.tooltipComponent)
|
|
283
283
|
instance.widget.updateDropdownPosition(instance, instance.tooltipComponent);
|
|
284
284
|
}
|
|
285
285
|
|