ListView: when sroll, next sticky header should push prev sticky header to top
See original GitHub issueList.Item 会挡,List.renderHeader 不会。 Card 整体都会挡住 ListView sticky SectionHeader
去掉以下 css 会露出来
.am-list-body .am-list-item {
position: relative;
}
Version
1.3.0
Environment
web
Reproduction link
https://codepen.io/colder/pen/QgGzxq
Steps to reproduce
list or card as row
What is expected?
sticky section header fixed top
What is actually happening?
card and list item cover section header
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (15 by maintainers)
Top Results From Across the Web
flutter implement sticky headers and the snap to item effect
As for the snap effect, it can be achieved with a scroll controller on your scroll element. Add a listener, and on scroll...
Read more >Flutter: Sticky Header in ListView - YouTube
Add Sticky Headers to a ListView in Flutter that will stick to the top while the ListView is scrolled.Click here to Subscribe to...
Read more >Flutter Tutorial - Sticky Headers In ListView & Sliver Tools
Let's use Flutter slivers & sticky headers to customize the scrolling behaviour of our Newspaper ListView.Click here to Subscribe to ...
Read more >sticky_headers | Flutter Package - Pub.dev
Flutter Sticky Headers - Lets you place headers on scrollable content that will stick to the top of the container whilst the content...
Read more >Create a Sticky Footer With a Scrollable Body View in Flutter
Create a Widget that contains a Header And most importantly a Footer which obviously should remain in the end of your screen.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cncolder list 确实是可用也可不用、rmc-list-view 里就没用到。不过 antd-mobile 里 listview 用 list ,是考虑到 header footer 等样式和 list 的一致,就集成进来了 list 的样式名及样式,除了 list.item 还有 list.body list.header footer 等样式名。
此问题解决办法:
@chenghaohao 就会出现这种情况?是什么情况没明确,新开 issue 明确描述。这个 issue 跟你这个情况也没关系的。