Coder Social home page Coder Social logo

Comments (9)

JAicewizard avatar JAicewizard commented on August 11, 2024

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.

JAicewizard avatar JAicewizard commented on August 11, 2024

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.

justincbeck avatar justincbeck commented on August 11, 2024

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.

JAicewizard avatar JAicewizard commented on August 11, 2024

Can you checkout if my fork (#72) fixes that issue?

from flutter_sticky_headers.

Areopagitics avatar Areopagitics commented on August 11, 2024

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.

JAicewizard avatar JAicewizard commented on August 11, 2024

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.

Areopagitics avatar Areopagitics commented on August 11, 2024

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.

JAicewizard avatar JAicewizard commented on August 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.