TextField blocks swipe gesture on iOS, prevents slidable being opened
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
The payload names no source files, so start by reproducing the problem: put a TextField inside a Slidable and try a swipe on an iOS simulator, then on Android to compare. The linked Flutter issue and Stack Overflow question describe the same symptom and may point to the gesture handling involved. Done means a swipe on the text field opens the Slidable on iOS, with the reproduction and fix confirmed on both platforms.
由索引模型根据 Issue 内容生成。
描述
There is already an existing ticket for this issue but I'm opening this as re-emphasis that this problem still exists to try and find a workaround and for others to find the issue if they are searching for it.
I don't believe it is a problem with Slidable, as the same behaviour works on Android without issue.
The issue is that when there is a TextField inside a slidable the field blocks swipe gestures and prevents the slidable from opening.
Here is a SO question about the issue - https://stackoverflow.com/questions/77266979/slidable-widget-swipe-action-issue-on-text-fields-in-ios-flutter
And here is an issue opened on the official Flutter repo, although it looks abandoned - https://github.com/flutter/flutter/issues/142447
Is there any solutions for this problem? Highly annoying that it works okay on Android but not iOS.
- 主要语言
- Dart
- 星标
- 2.9k
- 派生
- 646
- 平均合并
- 5 分钟
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
letsar/flutter_slidable 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 48/100
letsar/flutter_slidable#549 ·
维护者通常 1 天内回复
-
Lock action-pane intent for a continuous drag until neutral settle可能已有人在做 @lukemmtt 于 197 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 25/100
letsar/flutter_slidable#546 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 35/100
letsar/flutter_slidable#541 ·
维护者通常 1 天内回复
-
Example is not runnable on android可能已有人在做 @akhil-ge0rge 于 353 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 18/100
letsar/flutter_slidable#540 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 22/100
letsar/flutter_slidable#535 ·
维护者通常 1 天内回复
查看 letsar/flutter_slidable 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
fable-compiler/Fable#5280 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
immich-app/immich#33043 ·
维护者通常 1 天内回复
-
[unified_analytics] Add fallbackRootTool to getEnvironment()可能已有人在做 @NemesisDevX 今天认领。 未关闭package:unified_analytics
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Notalib/flutter_readium#312 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
finamp-app/finamp#1860 ·
维护者通常 1 天内回复