Comments (4)
Support for header
prop just like footer
would be very welcome!
from react-virtuoso.
Hey, @AyumiKai - Supporting pull to refresh is possible, indeed. I think I would rather keep the pull/release/refresh logic external to the component, though.
Some thoughts: For this to work, I guess the virtuoso component should support optional header render prop (just like the footer), and maybe, ref access to the scroller element so that touch events can be bound to it.
I am not sure when / if I will be able to get to that feature - feel free to examine the source code and give it a try.
from react-virtuoso.
header render prop, that is good idea
from react-virtuoso.
@AyumiKai I just published v0.5.0 which provides access to the scroll container DOM element - I think it should be possible to plug pull to refresh logic through that. Check the example.
from react-virtuoso.
Related Issues (20)
- [BUG] Incorrect scrollTo in TableVirtuoso with let top HOT 3
- [BUG] Broken list with dynamic-height rows when scrolling fast using scroll control HOT 2
- [BUG] TableVirtuoso: Only 1 row is rendered when the `components` prop has `TableRow: props => props.children` HOT 1
- While scrolling down, automatically scrollbar is jumping to the top. HOT 1
- [BUG]How do I make the container auto height HOT 1
- [BUG] react-virtuoso not working on old iOS devices
- [BUG] GroupedVirtuoso - scrollIntoView doesn't scroll to item under group label HOT 3
- [BUG] Scroll snap prevents programmatic scrolling to items not rendered HOT 1
- [BUG] `VirtuosoGrid` doesnโt handle CSS grid with `auto-fit` columns well HOT 3
- [BUG] Wrong item position after scroll to index on scaled list HOT 1
- [BUG] 'Stick to bottom' does not work with fast updates. HOT 1
- [BUG] Width of fit content does not work on virtualized list HOT 1
- [BUG]
- [BUG] GroupedVirtuoso and data prop don't work properly together, all of the data items don't get rendered HOT 3
- [BUG] - reversed list does not stick to the bottom when new items are added HOT 1
- Screen flickering when scrolled up specially on images. HOT 1
- [DOCS] `overscan` and `increaseViewportBy` units not mentioned in `TableVirtuoso` API reference HOT 1
- StartReached is not called if there is no modification on firstItemIndex and data HOT 1
- [BUG] ResizeObserver loop completed with undelivered notifications. HOT 8
- [BUG] Table with sticky columns have issue with border rendering on random rows HOT 4
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 react-virtuoso.