@applicaster/zapp-react-native-ui-components 15.1.11-alpha.5441005545 → 15.1.11-alpha.7595631787
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 +6 -3
- 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, mouse) {
|
|
138
138
|
const {
|
|
139
139
|
item: { id, title },
|
|
140
140
|
shouldScrollVertically,
|
|
@@ -145,7 +145,10 @@ export class CellComponent extends React.Component<Props, State> {
|
|
|
145
145
|
if (isFocusable) {
|
|
146
146
|
this.setState({ cellFocused: true });
|
|
147
147
|
|
|
148
|
-
if (
|
|
148
|
+
if (
|
|
149
|
+
shouldUpdate &&
|
|
150
|
+
shouldScrollVertically?.(mouse, focusable, id, title)
|
|
151
|
+
) {
|
|
149
152
|
this.scrollVertically(focusable);
|
|
150
153
|
}
|
|
151
154
|
}
|
|
@@ -259,7 +262,7 @@ export class CellComponent extends React.Component<Props, State> {
|
|
|
259
262
|
const handleFocus = (focusable, mouse) => {
|
|
260
263
|
const focusFn = onFocus || noop;
|
|
261
264
|
focusFn(focusable, mouse);
|
|
262
|
-
this.onFocus(focusable);
|
|
265
|
+
this.onFocus(focusable, mouse);
|
|
263
266
|
};
|
|
264
267
|
|
|
265
268
|
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": "15.1.11-alpha.
|
|
3
|
+
"version": "15.1.11-alpha.7595631787",
|
|
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": "15.1.11-alpha.
|
|
32
|
-
"@applicaster/zapp-react-native-bridge": "15.1.11-alpha.
|
|
33
|
-
"@applicaster/zapp-react-native-redux": "15.1.11-alpha.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "15.1.11-alpha.
|
|
31
|
+
"@applicaster/applicaster-types": "15.1.11-alpha.7595631787",
|
|
32
|
+
"@applicaster/zapp-react-native-bridge": "15.1.11-alpha.7595631787",
|
|
33
|
+
"@applicaster/zapp-react-native-redux": "15.1.11-alpha.7595631787",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "15.1.11-alpha.7595631787",
|
|
35
35
|
"fast-json-stable-stringify": "^2.1.0",
|
|
36
36
|
"promise": "^8.3.0",
|
|
37
37
|
"url": "^0.11.0",
|