@tarojs/router 3.6.22-nightly.9 → 3.6.23

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/index.cjs.js CHANGED
@@ -457,6 +457,9 @@ function getOffset() {
457
457
  */
458
458
  function loadAnimateStyle(ms = 300) {
459
459
  const css = `
460
+ body {
461
+ overflow: hidden; // 防止 iOS 页面滚动
462
+ }
460
463
  .taro_router > .taro_page {
461
464
  position: absolute;
462
465
  left: 0;
package/dist/index.esm.js CHANGED
@@ -456,6 +456,9 @@ function getOffset() {
456
456
  */
457
457
  function loadAnimateStyle(ms = 300) {
458
458
  const css = `
459
+ body {
460
+ overflow: hidden; // 防止 iOS 页面滚动
461
+ }
459
462
  .taro_router > .taro_page {
460
463
  position: absolute;
461
464
  left: 0;
package/dist/style.js CHANGED
@@ -3,6 +3,9 @@
3
3
  */
4
4
  function loadAnimateStyle(ms = 300) {
5
5
  const css = `
6
+ body {
7
+ overflow: hidden; // 防止 iOS 页面滚动
8
+ }
6
9
  .taro_router > .taro_page {
7
10
  position: absolute;
8
11
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/router",
3
- "version": "3.6.22-nightly.9",
3
+ "version": "3.6.23",
4
4
  "description": "Taro-router",
5
5
  "browser": "dist/index.js",
6
6
  "main:h5": "dist/index.esm.js",
@@ -44,12 +44,12 @@
44
44
  "rollup-plugin-ts": "^3.0.2",
45
45
  "ts-jest": "^29.0.5",
46
46
  "typescript": "^4.7.4",
47
- "@tarojs/runtime": "3.6.22-nightly.9",
48
- "@tarojs/taro": "3.6.22-nightly.9"
47
+ "@tarojs/runtime": "3.6.23",
48
+ "@tarojs/taro": "3.6.23"
49
49
  },
50
50
  "peerDependencies": {
51
- "@tarojs/runtime": "3.6.22-nightly.9",
52
- "@tarojs/taro": "3.6.22-nightly.9"
51
+ "@tarojs/runtime": "3.6.23",
52
+ "@tarojs/taro": "3.6.23"
53
53
  },
54
54
  "scripts": {
55
55
  "prebuild": "pnpm run clean",