Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Month event is not getting loaded until select the month date #241

Closed
sabarics opened this issue Mar 30, 2022 · 19 comments
Closed

Month event is not getting loaded until select the month date #241

sabarics opened this issue Mar 30, 2022 · 19 comments
Labels
bug Something isn't working

Comments

@sabarics
Copy link

Month event is not getting loaded until select the month date. By default selected date, month events are displayed whereas when I scroll to next or previous month, events are not showing in Month.

added style.month.autoSelectionDateWhenScrolling = true

Expected behavior
When I scroll, events should be displayed every month

IMG_0042|
IMG_0043
IMG_0044

RPReplay_Final1648624523.MP4

Here April 2022 month events are not getting displayed in the month view, after selecting any date on April month events is displayed.

@sabarics sabarics added the bug Something isn't working label Mar 30, 2022
@kvyatkovskys
Copy link
Owner

Hello!
hmm 🤔, interesting... I'll check, thanks for the issue.

@sabarics
Copy link
Author

Hiiii
Any update @kvyatkovskys ?

@kvyatkovskys
Copy link
Owner

Not yet. Will check on this weekend

@sabarics
Copy link
Author

sabarics commented Apr 1, 2022

Thank you

@kvyatkovskys
Copy link
Owner

you need to subscribe on this function
func willSelectDate(_ date: Date, type: CalendarType) { print(date, type) calendarView.reloadData() }

@sabarics
Copy link
Author

sabarics commented Apr 4, 2022

Working @kvyatkovskys 👍. Thanks for your time

@sabarics sabarics closed this as completed Apr 4, 2022
@BhavinBhadani
Copy link

BhavinBhadani commented Nov 29, 2022

Hi @sabarics @kvyatkovskys How events displayed in stripes? How to display vertical and horizontal both separator lines?

@sabari-zuper
Copy link

@BhavinBhadani Can you give more info?

@BhavinBhadani
Copy link

Hi @sabari-zuper I want to make same view like you did in month view that having events listed out like you did instead of dots. I think we need custom cell here. Is that correct?

@sabari-zuper
Copy link

yes.

@BhavinBhadani
Copy link

BhavinBhadani commented Dec 6, 2022

Thanks @sabari-zuper I am trying the same thing. Have you used anything like collection view in custom cell to handle events or some labels only?

@sabari-zuper
Copy link

No, I am not using any custom cell here. I am using the default one here.

@BhavinBhadani
Copy link

So, How you are able to get that stripes in green color with label because I only gets dots there

@sabari-zuper
Copy link

That is all-day event, Please refer example project.

@BhavinBhadani
Copy link

Yes, I am talking about all day event only that gives me dots and developed same as example project.

@sabari-zuper
Copy link

Can you share the screenshot of the example project?

@sabari-zuper
Copy link

sabari-zuper commented Dec 6, 2022

This is how it looks on my iPad simulator. Please refer to the Month View in source code
Simulator Screen Shot - iPad Pro (11-inch) (3rd generation) - 2022-12-06 at 14 19 10

@BhavinBhadani
Copy link

I think because it's iPad, it's showing like this. Thanks for your help @sabari-zuper

@sabari-zuper
Copy link

Thanks. If you want to same for iPhone, please do fork and changes as you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants