react-crud-mobile 1.3.532 → 1.3.533

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/index.js CHANGED
@@ -435,9 +435,9 @@ function UIButton(props) {
435
435
  }
436
436
  };
437
437
  const onClick = async (e) => {
438
- requestAnimationFrame(() => {
438
+ setTimeout(() => {
439
439
  scope.call("click", {});
440
- });
440
+ }, 0);
441
441
  };
442
442
  const style = (part, extra2) => {
443
443
  let css = { ...styles13[part], ...extra2 };
@@ -2246,10 +2246,12 @@ function UIElement(props) {
2246
2246
  if (typeof eventData === "function") {
2247
2247
  eventData = eventData.call(this, args);
2248
2248
  }
2249
+ let data = {};
2249
2250
  if (event.send === false || event.data === false) {
2250
2251
  crudData = {};
2252
+ } else {
2253
+ data = import_react_crud_utils19.Utils.nvl(eventData, args.item, rowItem, crudData, {});
2251
2254
  }
2252
- let data = import_react_crud_utils19.Utils.nvl(eventData, args.item, rowItem, crudData, {});
2253
2255
  let d = import_react_crud_utils19.CrudUtils.create("dialog", {
2254
2256
  parent: crud2,
2255
2257
  root: crud2,