-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Can we access your project?
- I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
I have a scrollable column, with a StickyHeader inside it. The content of the StickyHeader widget is a listview. I have datapills in the header of the StickyHeader, which filter my listview below. If one scrolls down in the list view and switches to another datapill and the filtered list items length is shorter, the header of the StickyHeader jumps to the bottom of the page and resets back only if the content is touch scrolled. I tried hiding and displaying the header again after the filter is applied, but the behavior is the same. I also tried scrollto action on the content view, that didn't seem to do anything either.
Expected Behavior
The conent updates based on the filter change, but the sticky header sticks to the top.
Steps to Reproduce
- Create New Page, add navigation to the page from home page. (You may be able to do it on Home page as well instead).
- Add new Page State variable showItems, Boolean set to true by default.
- Select the column in the new page. Make it scrollable, select stretch for Cross Axis Alignment.
- Add StickyHeader widget inside the column.
- Add a Button into the header, wrap it in a row. Set the action on it to to update page state toggle the value of showItems
- Select the last sample list item container in the content of the sticky header, make its visibility conditional equal to page state variable showItems.
- Duplicate these a couple of times so the list items are scrollable down the page.
- Launch the application, navigate to the test page, scroll down in the list view then push the button in the header. You will notice that the header will jump to the bottom of the page.
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
ITFXi87huJdgrthE+qniLMZonmEwGVwbbZIRiO4aTTEjGJz1BIYMaffSS1pBONOkTWw2KEWKpHsE0uj3ivP9IMYBNSquUapCwatUZj3vWky/aoSTBsyaQ0QnAdpbGhG90YmsniJdCNNhdEIs7DiMBeeRSindNKH6Zwh9f6PHaOI=
Visual documentation


Environment
- FlutterFlow version: v5.0.2
- Platform: Web, iOS, Android
- Browser name and version: Chrome 129.0.6668.60
- Operating system and version affected: MacOS Sequoia 15.0, iOS 18
Additional Information
Trying to publish my updated app with this new page in it.