fluttercandies / extended_nested_scroll_view

extended nested scroll view to fix following issues. 1.pinned sliver header issue 2.inner scrollables in tabview sync issue 3.pull to refresh is not work. 4.do without ScrollController in NestedScrollView's body
MIT License
591 stars 117 forks source link

滚动NestedScrollView 的 body 下的Column 会报高度溢出 A RenderFlex overflowed by 40 pixels on the bottom. #67

Closed purestart closed 2 years ago

purestart commented 3 years ago

您好!

headerSliverBuilder 高度 超过 一屏的时候

extened_nested_scroll_view_demo 这个示例中 滚动NestedScrollView 的 body 下的Column 会报高度溢出 A RenderFlex overflowed by 40 pixels on the bottom.

这个问题麻烦看看,谢谢

zmtzawqlp commented 3 years ago

无所谓。不影响

Dove56 commented 2 years ago

BoxConstraints has non-normalized height constraints.

OHeroJ commented 2 years ago

+1

lvpeng0412 commented 2 years ago

tabbar包一个Flexible就不会报错了 @purestart

techouse commented 1 year ago

I've recently had to deal with a sliver header that was larger than the screen was displayed on.

I tried wrapping the TabBar into a Flexible which does resolve the overflow but it also makes the TabBar animate somewhat weirdly when it gets scrolled in.

The only way to resolve the overflow issue was to add TabBar into the bottom of my SliverAppBar effectively making it part of the header sliver and then Flutter stops complaining.