Comments (9)
Yes this also happens for me, but only for a the first bit of the child, and gets fixed after one whole screen has been scrolled.
from flutter_sticky_headers.
The way this library works is very hacky, the only work around is to calculate the header position during paint as done in the PR above. A better solution would be using flutter_sticky_header
, except that the sticky headers above the center key are at the bottom instead of top.
from flutter_sticky_headers.
I'm seeing a related issue where if I add an item to the list or scroll view that the header can jump down the list (by the amount the list size has increased) until a scroll is initiated, upon which it resets correctly. It's an edge case to be sure but can look bad to end users.
from flutter_sticky_headers.
Can you checkout if my fork (#72) fixes that issue?
from flutter_sticky_headers.
Can you checkout if my fork (#72) fixes that issue?
Since the fork was merged, it unfortunately doesn't. I just tested with the code above. The same problem happens.
from flutter_sticky_headers.
WDYM? The code in the issue should be fixed in my fork, as I use that fork for a production app where it works. It is also not merged yet. How are you importing the code?
from flutter_sticky_headers.
My bad ... I thought it was merged already.
BTW. I'm already looking to SliverMainAxisGroup, which will provide Sticky Headers out of the box in flutter.
from flutter_sticky_headers.
This shoudl probably stay open, but thanks for pointing that out! Then we can also finally move away from this library
from flutter_sticky_headers.
Related Issues (20)
- Is it possible to use this package with horizontal ListView? HOT 1
- A ScrollPositionWithSingleContext was used after being disposed. HOT 2
- dependency doesn't support null safety HOT 4
- version 0.1.8+1 App crash flash back HOT 1
- Not working with ScrollablePositionedList HOT 1
- Is there a way that below headers is hide and only the active top header is visible?
- Not working with android api 31 HOT 1
- Plugin can't run with Flutter 3.0.0 HOT 1
- gridview line header HOT 3
- Rect argument contained a NaN value HOT 1
- [BUG] StickyHeader not working inside a CustomScrollView HOT 3
- Listview Subheaders
- Nested StickyHeaders
- This issue still exist in 0.3.0+2 -> Headers don't get stick to top after disappearing keyboard. #44
- How to update the state once the header sticks to the top?
- [BUG] Wrong layout when header height is more than content.
- Sticky headers not working after application is resumed - but only if dark theme is configured HOT 1
- Error with Flutter 3.13.1 - Does not build HOT 1
- Privacy manifest file for iOS is missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_sticky_headers.