@fto-consult/expo-ui 6.26.4 → 6.26.5
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/package.json
CHANGED
|
@@ -127,10 +127,10 @@ const DatagridAccordionRow = React.forwardRef((props,ref)=>{
|
|
|
127
127
|
ref = {React.useMergeRefs(ref,innerRef)}
|
|
128
128
|
>
|
|
129
129
|
<Swipeable
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
ref = {swipeableRef}
|
|
131
|
+
testID={testID+'_ContentContainerSwipeable'}
|
|
132
|
+
friction={2}
|
|
133
|
+
containerStyle = {{overflow:'hidden'}}
|
|
134
134
|
leftThreshold={80}
|
|
135
135
|
enableTrackpadTwoFingerGesture
|
|
136
136
|
renderLeftActions={selectable === false? undefined : (_progress,dragX) => {
|
|
@@ -3743,7 +3743,7 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
3743
3743
|
getRowKeyByIndex(rowIndex){
|
|
3744
3744
|
if(typeof rowIndex !='number') return undefined;
|
|
3745
3745
|
const idx = this.getRowsKeysIndexes();
|
|
3746
|
-
if(rowIndex < idx.length
|
|
3746
|
+
if(rowIndex < idx.length && rowIndex>=0){
|
|
3747
3747
|
return idx[rowIndex];
|
|
3748
3748
|
}
|
|
3749
3749
|
return undefined;
|