Get Month on Scroll
See original GitHub issueI am using this code… I just want to know if we can use onScroll method to get the current visible month?
<Agenda
items={{
'2018-04-18': [{text: 'item 1 - any js object'}],
'2018-04-19': [{text: 'item 2 - any js object'}],
'2018-04-20': [],
'2018-04-21': [{text: 'item 3 - any js object'},{text: 'any js object'}],
}}
renderItem={this.renderItem.bind(this)}
renderEmptyDate={this.renderEmptyDate.bind(this)}
rowHasChanged={(r1, r2) => {return r1.text !== r2.text}}
/>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
SwiftUI Calendar on scroll get current month - Stack Overflow
Im trying to get the current month when the calendar is being scrolled. My goal is to have the header with the current...
Read more >Excel Select Date With Scroll Bar - Contextures
In this example, the Scroll Bar will change the end date in a summary report, so you can scroll through the months, and...
Read more >Scroll Through Dates In Calendar Tool
Scroll Through Dates In Calendar Tool. Instead of scrolling through months and months to find the correct date, if you click on the...
Read more >Date time scroller demos for web and mobile | Mobiscroll
Date time picker scroller & dropdown demos for mobile and desktop web with date, time, validation, min/max & more. Last update: Dec 19,...
Read more >How can i use month scroll with week mode feature. · Issue #313
when i scrolling that time two time week days coming when two month combine come. ... i think two pages coming. ... how...
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 Free
Top 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
This is something I am wondering about as well. I love this library and was able to get up and running pretty quickly. Here is what my current calendar implementation looks like:
and I am using the
<CalendarList />
component withhorizontal
andpagingEnabled
props.Hence in my use case (see screenshot above), I would like to display a unique monthly summary for every month. Hence on scroll I need a callback which returns a
month
string.Is this currently possible? I cound’t find anything on the docs, but please let me know if I missed something.
I’m using loadItemsForMonth callback for this but it is triggered twice. For the first time the result is correct. But on the second i get previous month. Looking for solution.