l***@163.com
l***@163.com
  • 发布:2024-02-20 11:20
  • 更新:2024-02-20 11:20
  • 阅读:205

disableScroll设置为true之后,h5版本,在safari中无法使用侧滑返回了

分类:HTML5+
{  
    "path": "pages/about/index",  
    "style": {  
        "navigationBarTitleText": "uni-app",  
        "disableScroll": true  
    }  
}

在设置disableScroll为true之后,在iOS15的safari中,可以使用侧滑返回,在iOS17的safari中,无法使用侧滑返回了。期望是disableScroll的使用不影响侧滑返回。

依赖情况如下:

"dependencies": {  
    "@dcloudio/uni-app": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-app-plus": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-h5": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-i18n": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-360": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-alipay": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-baidu": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-jd": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-kuaishou": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-lark": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-qq": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-toutiao": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-vue": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-weixin": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-mp-xhs": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-quickapp-native": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-quickapp-webview": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-stacktracey": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-stat": "^2.0.2-3090920231225001",  
    "@vue/shared": "^3.0.0",  
    "core-js": "^3.8.3",  
    "flyio": "^0.6.2",  
    "vue": ">= 2.6.14 < 2.7",  
    "vue-class-component": "^6.3.2",  
    "vue-property-decorator": "^8.0.0",  
    "vuex": "^3.2.0"  
  },  
  "devDependencies": {  
    "@babel/plugin-syntax-typescript": "^7.2.0",  
    "@dcloudio/types": "^3.3.2",  
    "@dcloudio/uni-automator": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-cli-i18n": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-cli-shared": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-helper-json": "*",  
    "@dcloudio/uni-migration": "^2.0.2-3090920231225001",  
    "@dcloudio/uni-template-compiler": "^2.0.2-3090920231225001",  
    "@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.2-3090920231225001",  
    "@dcloudio/vue-cli-plugin-uni": "^2.0.2-3090920231225001",  
    "@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.2-3090920231225001",  
    "@dcloudio/webpack-uni-mp-loader": "^2.0.2-3090920231225001",  
    "@dcloudio/webpack-uni-pages-loader": "^2.0.2-3090920231225001",  
    "@vue/cli-plugin-babel": "~5.0.0",  
    "@vue/cli-plugin-typescript": "~5.0.8",  
    "@vue/cli-service": "~5.0.0",  
    "babel-plugin-import": "^1.11.0",  
    "cross-env": "^7.0.2",  
    "jest": "^25.4.0",  
    "postcss-comment": "^2.0.0",  
    "typescript": "~4.5.5",  
    "vue-template-compiler": ">= 2.6.14 < 2.7"  
  },
2024-02-20 11:20 负责人:无 分享
已邀请:

要回复问题请先登录注册