Ionic 离子v6 webview 99错误放大在某些三星设备

l5tcr1uw  于 2023-03-06  发布在  Ionic
关注(0)|答案(1)|浏览(134)

所以我已经被同样的问题困扰了一个多月了。问题是在所有页面上的高度缩放比例都不正确。

在一些三星设备上的webview 99中有一个已知的bug,但仍然没有修复。我有一家公司都使用相同的型号,他们都有这个bug。据我所知,三星Galaxy A12上发生了这个bug,Galaxy A14 5G,Galaxy S20..连chatgpt都知道怎么回事,哈哈,所以人们已经在谈论它了。
我还有最新版的离子
在我的package.json下面,带有最新的离子版本

"dependencies": {
    "@angular/animations": "~13.2.2",
    "@angular/cdk": "~13.2.2",
    "@angular/common": "~13.2.2",
    "@angular/core": "~13.2.2",
    "@angular/fire": "^7.2.1",
    "@angular/forms": "~13.2.2",
    "@angular/material": "~13.2.2",
    "@angular/platform-browser": "~13.2.2",
    "@angular/platform-browser-dynamic": "~13.2.2",
    "@angular/router": "~13.2.2",
    "@awesome-cordova-plugins/app-version": "^6.3.0",
    "@awesome-cordova-plugins/camera": "^6.3.0",
    "@awesome-cordova-plugins/firebase-x": "^6.3.0",
    "@awesome-cordova-plugins/keyboard": "^6.3.0",
    "@awesome-cordova-plugins/status-bar": "^6.3.0",
    "@ionic-native/core": "^5.36.0",
    "@ionic-native/mobile-accessibility": "^5.36.0",
    "@ionic-native/native-storage": "^5.36.0",
    "@ionic-native/network": "^5.36.0",
    "@ionic/angular": "^6.6.0",
    "@ionic/cli": "^6.20.8",
    "@ionic/cordova-builders": "^7.0.0",
    "add": "2.0.6",
    "ionic4-auto-complete": "^2.9.9",
    "moment": "^2.29.4",
    "ng-speed-test": "^2.2.0",
    "rxjs": "~6.6.0",
    "swiper": "^8.4.5",
    "tslib": "^2.2.0",
    "zone.js": "~0.11.4"
  },

我试过使用MobileAccessibility并设置userPrerredTextZoom(false),但没有效果。我也不能排除哪些设备有问题,用css临时修复它。
网上只有两个问题,这是一个:https://forum.ionicframework.com/t/any-solution-for-zoom-problem-on-samsung-devices/227292

fkaflof6

fkaflof61#

我能够修复它在设备上提供了一个指南,以改变屏幕缩放的设置,默认情况下是放大了一点,在这些特定的设备

相关问题