You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Scrollable.ensureVisible(context) on a child of SliverStickyHeader with overlapsContent: true, the Scrollable scrolls to the wrong position.
When using
Scrollable.ensureVisible(context)
on a child ofSliverStickyHeader
withoverlapsContent: true
, theScrollable
scrolls to the wrong position.The problem appears to be in
childScrollOffset
(https://github.com/letsar/flutter_sticky_header/blob/master/lib/src/rendering/sliver_sticky_header.dart#L346) which returns_headerExtent
even with overlapping headers. I think that should beheaderLogicalExtent
(=overlapsContent ? 0.0 : _headerExtent
).The text was updated successfully, but these errors were encountered: