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

When there was bottomNavigationBar in the layout, the staggered grid view did not calculate the height correctly #40

Closed
CCY0122 opened this issue Mar 22, 2019 · 2 comments

Comments

@CCY0122
Copy link

CCY0122 commented Mar 22, 2019

My layout hierarchy looks something like this:

Scaffold(
  TabBarView(
    children(
      StaggeredGridView,
      ....
    )
  ),
  bottomNavigationBar(...),
)

crossAxisCount is 2,when the itemCount is even number,Layout is correct,
but when the itemCount is odd number,the layout height exceeded the bottomNavigationBar(I'm sure the list has scrolled down to the bottom).

screenshot:
itemCount is odd number:
image

itemCount is even number:
image

when the itemCount is odd number, logCat will print:
image

@letsar
Copy link
Owner

letsar commented Dec 12, 2021

Can you test with the latest 0.5.0 preview? https://pub.dev/packages/flutter_staggered_grid_view/versions/0.5.0-dev.1

@letsar
Copy link
Owner

letsar commented Jul 10, 2022

This thread has been closed since there has not been any response for a while. If you are still experiencing a similar issue, please open a new bug.

@letsar letsar closed this as completed Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants