-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当tab前面的内容超过一屏,或者说超过一屏更多,下面的内容在没有吸顶的情况下,listview跟着滑动 #74
Comments
官方的会吗 |
已解决,官方的也有这个问题 |
你可以试着pr ,我看看 |
old那个dart的1032行,if(innerDate <=-1 && innerDart >=1 )解决的,不知道有没有问题 |
有点取巧 而且为啥不写成 innerDate.abs() >=1. 其实之前我也写过,但是不是大于1.0,大于的一个常量,后来merge 官方代码,merge掉了 |
///this is a bug that the out postion is not overscroll actually and it get minimal value |
最新版本已经增加了判断0的优化 |
测试大佬的demo,也会出现类同的情况,希望大佬能指点一下,。情况台下,
body: extended.NestedScrollView( headerSliverBuilder: (context, f) { return [ ExtendedSliverAppbar( title: IndexTitle(), leading: Container(), isOpacityFadeWithTitle: false, isOpacityFadeWithToolbar: false, background: IndexBackgroud(), ), SliverPersistentHeader( delegate: BaseSliverPersistentHeader( child: buidTabBar(), maxHeight: 50, minHeight: 50, ), pinned: true, ), ]; }, pinnedHeaderSliverHeightBuilder: () { return pinnedHeaderHeight; }, body: TabBarView( controller: homeController.tabController, children: homeController.pageList, ), ), );
The text was updated successfully, but these errors were encountered: