flutter_slidable icon indicating copy to clipboard operation
flutter_slidable copied to clipboard

TextField blocks swipe gesture on iOS, prevents slidable being opened

Open Jakemangan opened this issue 1 year ago • 0 comments

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.

Jakemangan avatar Oct 01 '24 09:10 Jakemangan