@tarojs/plugin-platform-harmony-ets 4.0.0-beta.128 → 4.0.0-beta.129

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.
@@ -36,8 +36,13 @@ function getAttributes (node: TaroScrollViewElement): ScrollViewAttrs {
36
36
 
37
37
  function getScrollable (node: TaroScrollViewElement) {
38
38
  const _attrs = node._attrs
39
-
40
- return _attrs.scrollX ? ScrollDirection.Horizontal : ScrollDirection.Vertical
39
+ if (_attrs.scrollX) {
40
+ return ScrollDirection.Horizontal
41
+ } else if (_attrs.scrollY) {
42
+ return ScrollDirection.Vertical
43
+ } else {
44
+ return ScrollDirection.None
45
+ }
41
46
  }
42
47
 
43
48
  function handleScrollEvent (node: TaroScrollViewElement, eventName = 'scroll', xOffset?: number, yOffset?: number) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/plugin-platform-harmony-ets",
3
- "version": "4.0.0-beta.128",
3
+ "version": "4.0.0-beta.129",
4
4
  "description": "OpenHarmony & 鸿蒙系统插件",
5
5
  "author": "O2Team",
6
6
  "homepage": "https://gitee.com/openharmony-sig/taro",
@@ -27,13 +27,13 @@
27
27
  "webpack-sources": "^3.2.3",
28
28
  "@babel/preset-react": "^7.24.1",
29
29
  "webpack": "5.91.0",
30
- "@tarojs/components": "4.0.0-beta.128",
31
- "@tarojs/helper": "4.0.0-beta.128",
32
- "@tarojs/runner-utils": "4.0.0-beta.128",
33
- "@tarojs/service": "4.0.0-beta.128",
34
- "@tarojs/shared": "4.0.0-beta.128",
35
- "@tarojs/runtime": "4.0.0-beta.128",
36
- "@tarojs/taro": "4.0.0-beta.128"
30
+ "@tarojs/components": "4.0.0-beta.129",
31
+ "@tarojs/runtime": "4.0.0-beta.129",
32
+ "@tarojs/runner-utils": "4.0.0-beta.129",
33
+ "@tarojs/helper": "4.0.0-beta.129",
34
+ "@tarojs/shared": "4.0.0-beta.129",
35
+ "@tarojs/service": "4.0.0-beta.129",
36
+ "@tarojs/taro": "4.0.0-beta.129"
37
37
  },
38
38
  "devDependencies": {
39
39
  "fast-glob": "^3.3.1",
@@ -42,7 +42,7 @@
42
42
  "rollup-plugin-ts": "^3.0.2",
43
43
  "solid-js": "^1.8.16",
44
44
  "tslib": "^2.4.0",
45
- "rollup-plugin-copy": "4.0.0-beta.128"
45
+ "rollup-plugin-copy": "4.0.0-beta.129"
46
46
  },
47
47
  "scripts": {
48
48
  "prod": "pnpm run build",