ionic-team / ionic-team/capacitor
[Bug]: Double tap-to-zoom works in iOS Webview even though zoomEnabled is false
- Dominant language
- TypeScript
- Stars
- 16.7k
- Forks
- 1.3k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 10
Description
### 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
```Shell
% npm --version
11.6.0
% node --version
v24.10.0
% pod --version
1.16.2
```
### Platforms Affected
- [x] 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
```
```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"
}
}
```
```json
{
"appId": "double.tap",
"appName": "doubletap",
"webDir": "dist",
"zoomEnabled": false
}
```
```html
double tap me
```
### Additional Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.