JTAppleCalendar icon indicating copy to clipboard operation
JTAppleCalendar copied to clipboard

didScrollToDateSegmentWith working when click to cell in iphoneX

Open hoangnv98 opened this issue 3 years ago • 3 comments

**(Required) Version Number:**8.0.3

Description

In Iphone X, when I click to cell in collectionView, function didScrollToDateSegmentWith working cause some actions to go wrong

Steps To Reproduce

Step 1 : Setup normal Calendar Step 2 : Click to cell in collectionView on device iphone X Step 3 : Debug in function didScrollToDateSegmentWith

Expected Behavior

didScrollToDateSegmentWith not working when click to cell

Additional Context

didScroll do the task of calling API , when click duplicate calling API

hoangnv98 avatar Nov 23 '22 09:11 hoangnv98

What code are you executing when the user clicks on the cell?

patchthecode avatar Nov 23 '22 17:11 patchthecode

I using function didScroll to check scroll collection view. But on only device iphone X , when i click to cell at collectionView, function didScrollToDate working

hoangnv98 avatar Nov 23 '22 17:11 hoangnv98

func calendar(_ calendar: JTACMonthView, didScrollToDateSegmentWith visibleDates: DateSegmentInfo) { print("work in here") } when i click to cell in collection View, function this working a few months on only device iPhone X @patchthecode can you review it?

hoangnv98 avatar Nov 24 '22 01:11 hoangnv98