react-crud-mobile 1.3.77 → 1.3.79
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/react-crud-mobile.cjs.development.js +2 -0
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +2 -0
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIOrder.tsx +3 -0
|
@@ -1627,6 +1627,7 @@ function UIOrder(props) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
return list;
|
|
1629
1629
|
});
|
|
1630
|
+
//v2
|
|
1630
1631
|
var renderItem = function renderItem(_ref) {
|
|
1631
1632
|
var item = _ref.item,
|
|
1632
1633
|
drag = _ref.drag,
|
|
@@ -1640,6 +1641,7 @@ function UIOrder(props) {
|
|
|
1640
1641
|
style: [styles$a.row, {
|
|
1641
1642
|
backgroundColor: isActive ? 'lightblue' : 'white'
|
|
1642
1643
|
}, _extends({}, state)],
|
|
1644
|
+
delayLongPress: 100,
|
|
1643
1645
|
onLongPress: drag // Initiate drag on long press
|
|
1644
1646
|
,
|
|
1645
1647
|
children: [/*#__PURE__*/jsxRuntime.jsx(vectorIcons.MaterialCommunityIcons, {
|