@applicaster/zapp-react-native-ui-components 14.0.43 → 14.0.44
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/Components/Cell/Cell.tsx +3 -6
- package/package.json +5 -5
package/Components/Cell/Cell.tsx
CHANGED
|
@@ -134,7 +134,7 @@ export class CellComponent extends React.Component<Props, State> {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
onFocus(focusable
|
|
137
|
+
onFocus(focusable) {
|
|
138
138
|
const {
|
|
139
139
|
item: { id, title },
|
|
140
140
|
shouldScrollVertically,
|
|
@@ -145,10 +145,7 @@ export class CellComponent extends React.Component<Props, State> {
|
|
|
145
145
|
if (isFocusable) {
|
|
146
146
|
this.setState({ cellFocused: true });
|
|
147
147
|
|
|
148
|
-
if (
|
|
149
|
-
shouldUpdate &&
|
|
150
|
-
shouldScrollVertically?.(mouse, focusable, id, title)
|
|
151
|
-
) {
|
|
148
|
+
if (shouldUpdate && shouldScrollVertically?.(focusable, id, title)) {
|
|
152
149
|
this.scrollVertically(focusable);
|
|
153
150
|
}
|
|
154
151
|
}
|
|
@@ -262,7 +259,7 @@ export class CellComponent extends React.Component<Props, State> {
|
|
|
262
259
|
const handleFocus = (focusable, mouse) => {
|
|
263
260
|
const focusFn = onFocus || noop;
|
|
264
261
|
focusFn(focusable, mouse);
|
|
265
|
-
this.onFocus(focusable
|
|
262
|
+
this.onFocus(focusable);
|
|
266
263
|
};
|
|
267
264
|
|
|
268
265
|
if (this.state.hasFocusableInside) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.44",
|
|
4
4
|
"description": "Applicaster Zapp React Native ui components for the Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@applicaster/applicaster-types": "14.0.
|
|
32
|
-
"@applicaster/zapp-react-native-bridge": "14.0.
|
|
33
|
-
"@applicaster/zapp-react-native-redux": "14.0.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "14.0.
|
|
31
|
+
"@applicaster/applicaster-types": "14.0.44",
|
|
32
|
+
"@applicaster/zapp-react-native-bridge": "14.0.44",
|
|
33
|
+
"@applicaster/zapp-react-native-redux": "14.0.44",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "14.0.44",
|
|
35
35
|
"fast-json-stable-stringify": "^2.1.0",
|
|
36
36
|
"promise": "^8.3.0",
|
|
37
37
|
"url": "^0.11.0",
|