[Bug]: Double tap-to-zoom works in iOS Webview even though zoomEnabled is false
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- ios
- 领域
- mobile
调研方向
复现由 capacitor.config.json 和 dist/index.html 定义;从报告中的项目及其 npm start 同步/打开流程开始。检查 zoomEnabled 设置为 false 时 iOS WebView 的行为。完成标准是:在 iOS 应用中双击不再放大,同时缩放仍处于禁用状态。
由索引模型根据 Issue 内容生成。
描述
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.4.4
@capacitor/core: 7.4.4
@capacitor/android: 7.4.4
@capacitor/ios: 7.4.4
Installed Dependencies:
@capacitor/cli: 7.4.4
@capacitor/android: 7.4.4
@capacitor/ios: 7.4.4
@capacitor/core: 7.4.4
Other API Details
% npm --version
11.6.0
% node --version
v24.10.0
% pod --version
1.16.2
Platforms Affected
- iOS
- Android
- Web
Current Behavior
Double tapping in the iOS app zooms in on the double-tapped-on element.
Expected Behavior
There should not be any double tap to zoom either when zoomEnabled is false (which is the default value)
Project Reproduction
https://github.com/myarcana/capacitor-double-tap-to-zoom-issue
.
├── capacitor.config.json
├── dist
│ └── index.html
└── package.json
{
"name": "capacitor-app",
"type": "module",
"scripts": {
"start": "npx cap sync ios && npx cap open ios"
},
"dependencies": {
"@capacitor/core": "latest",
"@capacitor/ios": "^7.4.4"
},
"devDependencies": {
"@capacitor/cli": "latest"
}
}
{
"appId": "double.tap",
"appName": "doubletap",
"webDir": "dist",
"zoomEnabled": false
}
<!doctype html>
<html>
<body style="display:grid;place-items:center;height:100vh;">
double tap me
</body>
</html>
Additional Information
No response
- 主要语言
- TypeScript
- 星标
- 17.1k
- 派生
- 1.3k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 26
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ionic-team/capacitor 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 76/100
ionic-team/capacitor#8759 ·
维护者通常 1 天内回复
-
[Bug]: Plugin call after navigation can be answered before reply proxy is updated可能已有人在做 @MateStrysewske 于 71 天前认领。 未关闭triage
难度 2/5 1-3 小时 新手友好度 84/100
ionic-team/capacitor#8616 ·
维护者通常 1 天内回复
-
help wanted
难度 2/5 1-3 小时 新手友好度 68/100
ionic-team/capacitor#8574 · 3 条评论 ·
维护者通常 1 天内回复
-
SystemBars: safe area CSS injection throws "Cannot read properties of null" on startup (Android 16)可能已有人在做 @kttalley 于 62 天前认领。 未关闭triage
难度 2/5 1-3 小时 新手友好度 78/100
ionic-team/capacitor#8530 · 2 条评论 ·
维护者通常 1 天内回复
-
fix(android): remove unchecked Java compilation warnings可能已有人在做 @Ajamuar 于 15 天前认领。 未关闭triage
难度 2/5 1-3 小时 新手友好度 78/100
ionic-team/capacitor#8529 · 1 条评论 ·
维护者通常 1 天内回复
查看 ionic-team/capacitor 的全部 Issue
相似的 Issue
-
accessibility area:ci ci-test level:low priority:high type:test
难度 2/5 1-3 小时 新手友好度 71/100
skytuhua-org/Gen-V1#3132 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
drmrd/vernacular#1238 ·
维护者通常 1 天内回复
-
question
难度 2/5 1-3 小时 新手友好度 65/100
-
enhancement migration-prioritized
难度 2/5 1-3 小时 新手友好度 88/100
Hudson-Pufferfish/local-party-console#136 ·
维护者通常 1 天内回复
-
priority:medium
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复