GestureDetector within TabBarView nested scrolling

Posted by Jennifer | Updated on

GestureDetector within TabBarView nested scrolling. I think Flutter’s pan gesture recognizer should probably yield to the scale gesture recognizer if it detects that a second pointer is down and a scale gesture recognizer is active. Feel free to file an issue for this if you agree.

In the meantime, you can “disable” the PageView’s pan gesture recognizer by putting an opaque GestureRecognizer on top of it and forwarding the scale events to your State.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers