fluttercandies / extended_tabs

A powerful official extension library of Tab/TabBar/TabView, which support to scroll ancestor or child Tabs when current is overscroll, and set scroll direction and cache extent.
https://fluttercandies.github.io/extended_tabs/
MIT License
268 stars 49 forks source link

ExtendedTabBarView嵌套ExtendedTabBarView联动滑动bug #24

Closed wtwsky closed 2 years ago

wtwsky commented 2 years ago

在英语环境没问题,啊语环境有问题,看了一下源码,应该是_handleAncestorOrChild里面处理手势方向有问题,没有兼容啊语的手势方向 /// 这里的判断有问题 if ((delta < 0 && _position!.extentAfter == 0 && state!._position!.extentAfter != 0) || (delta > 0 && _position!.extentBefore == 0 && state!._position!.extentBefore != 0))

zmtzawqlp commented 2 years ago

已修复