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

Scrolling beneath #55

Closed
JEuler opened this issue Oct 7, 2020 · 1 comment
Closed

Scrolling beneath #55

JEuler opened this issue Oct 7, 2020 · 1 comment

Comments

@JEuler
Copy link

JEuler commented Oct 7, 2020

Hi! I'm trying to stick the top widget (Header) at the top of CustomScrollView. And then, with scrolling, it will change it's height. I have working setup with SliverAppBar, but it requires manual calculations of height for collapsed and expanded states, so, I'm worrying about multiple devices support.

I've tried to use your package, but I'm facing the following issue:
2020-10-07_11-36-07
2020-10-07_11-36-40
What I am doing wrong? It is scrolling beneath header. The widget setup is the following:

        SliverStickyHeader(
          header: Wrap(
            children: [
              _buildCalendarData(data),
            ],
          ),
          sliver: CalendarHoursWidget(articles: data.articlesWithTime()),
        )

Where calendarData is the Custom widget with dynamic height and sliver is SliverList.

@letsar
Copy link
Owner

letsar commented Jul 13, 2022

You should add a background color to the header

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

2 participants