Skip to content
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

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

Closed
purestart opened this issue Apr 2, 2021 · 5 comments

Comments

@purestart
Copy link

purestart commented Apr 2, 2021

您好!

headerSliverBuilder 高度 超过 一屏的时候

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

这个问题麻烦看看,谢谢

@zmtzawqlp
Copy link
Member

无所谓。不影响

@Dove56
Copy link

Dove56 commented Aug 2, 2021

BoxConstraints has non-normalized height constraints.

@OHeroJ
Copy link

OHeroJ commented Aug 23, 2021

+1

@lvpeng0412
Copy link

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

@techouse
Copy link

techouse commented Aug 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants