@mpxjs/webpack-plugin 2.10.16-beta.12 → 2.10.16-beta.13

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.
@@ -16,7 +16,7 @@ const KeyboardAvoidingView = ({ children, style, contentContainerStyle }) => {
16
16
  const isShow = useRef(false);
17
17
  const animatedStyle = useAnimatedStyle(() => ({
18
18
  // translate/position top可能会导致底部渲染区域缺失
19
- marginTop: -offset.value,
19
+ transform: [{ translateY: -offset.value }],
20
20
  flexBasis: basic.value
21
21
  }));
22
22
  const resetKeyboard = () => {
@@ -26,7 +26,7 @@ const KeyboardAvoidingView = ({ children, style, contentContainerStyle }: Keyboa
26
26
 
27
27
  const animatedStyle = useAnimatedStyle(() => ({
28
28
  // translate/position top可能会导致底部渲染区域缺失
29
- marginTop: -offset.value,
29
+ transform: [{ translateY: -offset.value }],
30
30
  flexBasis: basic.value as DimensionValue
31
31
  }))
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.10.16-beta.12",
3
+ "version": "2.10.16-beta.13",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"