react-crud-mobile 1.0.646 → 1.0.648
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 +3 -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 +3 -0
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIListRow.tsx +6 -1
|
@@ -692,11 +692,13 @@ function UIListRow(props) {
|
|
|
692
692
|
data: item
|
|
693
693
|
}))),
|
|
694
694
|
row = _useState[0];
|
|
695
|
+
var main = reactCrudUtils.ViewUtils.getCrud();
|
|
695
696
|
var targetRef = React.useRef(null);
|
|
696
697
|
var _useState2 = React.useState(false),
|
|
697
698
|
visivel = _useState2[0],
|
|
698
699
|
setVisivel = _useState2[1];
|
|
699
700
|
var onScroll = function onScroll() {
|
|
701
|
+
console.log(visivel);
|
|
700
702
|
if (!visivel) {
|
|
701
703
|
var handle = reactNative.findNodeHandle(targetRef.current);
|
|
702
704
|
if (handle) {
|
|
@@ -710,6 +712,7 @@ function UIListRow(props) {
|
|
|
710
712
|
}
|
|
711
713
|
};
|
|
712
714
|
row.onScroll = onScroll;
|
|
715
|
+
main.scroll[row.getName()] = row;
|
|
713
716
|
var onClick = function onClick(item) {
|
|
714
717
|
row.call('click', {
|
|
715
718
|
value: item,
|