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
|
@@ -1618,6 +1618,7 @@ function UIOrder(props) {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
return list;
|
|
1620
1620
|
});
|
|
1621
|
+
//v2
|
|
1621
1622
|
var renderItem = function renderItem(_ref) {
|
|
1622
1623
|
var item = _ref.item,
|
|
1623
1624
|
drag = _ref.drag,
|
|
@@ -1631,6 +1632,7 @@ function UIOrder(props) {
|
|
|
1631
1632
|
style: [styles$a.row, {
|
|
1632
1633
|
backgroundColor: isActive ? 'lightblue' : 'white'
|
|
1633
1634
|
}, _extends({}, state)],
|
|
1635
|
+
delayLongPress: 100,
|
|
1634
1636
|
onLongPress: drag // Initiate drag on long press
|
|
1635
1637
|
,
|
|
1636
1638
|
children: [/*#__PURE__*/jsx(MaterialCommunityIcons, {
|