在ios中手势冲突
bug
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Current Behavior
我在AI中搜索过该问题,说是历史遗留的痛点。在使用flutter_inappwebview过程中,android表现出色。在ios中手势冲突得不到解决。尤其是在使用Cesiumjs时,完全无法使用。经过测试得出,当手指触碰到flutter ui时,webview同时得触发了touchstart事件。但手指离开屏幕时,webview没有监听到touchend。我尝试使用了PointerInterceptor,性能太弱了,手势延迟卡顿,尤其是全结合Slider使用时,webview直接崩溃了。
### Expected Behavior
当手势在flutter层级时,webview不要得到任何touch事件。
### Steps with code example to reproduce
<details>
<summary>Steps with code example to reproduce</summary>
```dart
return Stack(
alignment: Alignment.center,
children: [
InAppWebView(...),
Positioned(
top: (MediaQuery.of(context).size.height - 260) / 2,
right: 10,
child: Slider(
activeColor: Colors.white,
max: 1,
min: 0,
value: _mapController.pitch.value,
onChanged: _mapController.changePitch,
),
)
],
);
```
</details>
### Stacktrace/Logs
<details>
<summary>Stacktrace/Logs</summary>
```
<Replace this line by pasting your stacktrace or logs here>
```
</details>
### Flutter version
v 3.38.7
### Operating System, Device-specific and/or Tool
Android 34+
### Plugin version
6.1.5
### Additional information
_No response_
### Self grab
- [ ] I'm ready to work on this issue!
0 条评论