@tarojs/plugin-platform-harmony-ets 4.0.0-beta.52 → 4.0.0-beta.54
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/apis/ui/scroll/index.ts +1 -1
- package/dist/components-harmony-ets/navigationBar.ets +5 -4
- package/dist/components-harmony-ets/pageMeta.ets +28 -17
- package/dist/components-harmony-ets/style.ets +10 -29
- package/dist/components-harmony-ets/swiper.ets +23 -0
- package/dist/components-harmony-ets/text.ets +34 -2
- package/dist/components-harmony-ets/utils/index.ts +5 -0
- package/dist/runtime-ets/dom/stylesheet/type.ts +9 -0
- package/dist/runtime-utils.js +1 -1
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +9 -9
package/dist/runtime.js
CHANGED
|
@@ -3858,7 +3858,7 @@ const pageScrollTo = (options) => {
|
|
|
3858
3858
|
const taro = Current.taro;
|
|
3859
3859
|
const page = taro.getCurrentInstance().page;
|
|
3860
3860
|
let scrollValue = -1;
|
|
3861
|
-
let scroller = page.scroller;
|
|
3861
|
+
let scroller = getPageScrollerOrNode(page.scroller, page);
|
|
3862
3862
|
const currentPageNode = getPageScrollerOrNode(page.node, page);
|
|
3863
3863
|
if (scrollTop || typeof scrollTop === 'number') {
|
|
3864
3864
|
scrollValue = scrollTop;
|