zjfjack / JZCalendarWeekView

Calendar Week & Day View in iOS Swift
MIT License
448 stars 120 forks source link

while swiping left and right the text is missing in the calendar #137

Open sanath9 opened 3 years ago

sanath9 commented 3 years ago

I have implemented JZCalendarWeekView in our project we are facing UI issues while swiping left and right ,the appointments label text is missing for some events randomly . using below code to refresh calendar after getting response from backend self.calenderWeekview.setupCalendar(numOfDays: 1,setDate: self.selectedDate, allEvents: eventsByDate,scrollType: .pageScroll) Could you please help me to solve this issue?

S-Braeutigam commented 3 years ago

Instead of setting up the calendarWeekview again, you can just use self.calendarWeekview.forceReload(reloadEvents: ).

rishbaranwal commented 3 years ago

I have implemented JZCalendarWeekView in our project, please let me know how I can disable the swipe left or right?

zjfjack commented 3 years ago

I have implemented JZCalendarWeekView in our project, please let me know how I can disable the swipe left or right?

Maybe you can set the date range to that date only

sanath9 commented 3 years ago

Hey

Thank you so much i have fixed the issue by setting the date range concept . I appreciate for your look back on me.

Thanks & Regards Sanath

On Fri, 2 Jul, 2021, 9:43 AM Jeff Zhang, @.***> wrote:

I have implemented JZCalendarWeekView in our project, please let me know how I can disable the swipe left or right?

Maybe you can set the date range to that date only

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zjfjack/JZCalendarWeekView/issues/137#issuecomment-872699169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUD2U7GFQ2RHHYJBZNH752TTVU4HTANCNFSM45CN2XIA .