react-native-calendar-strip icon indicating copy to clipboard operation
react-native-calendar-strip copied to clipboard

when we put minDate ={moment()} then next week not scrolling

Open Gaurang-786 opened this issue 3 years ago • 8 comments

Gaurang-786 avatar Jan 24 '22 12:01 Gaurang-786

https://user-images.githubusercontent.com/98010969/150781680-3057cdad-ce3e-4d4f-8713-316dd70b9f89.mp4

Gaurang-786 avatar Jan 24 '22 12:01 Gaurang-786

I am also facing same issue. Found any solution? @Gaurang-786

vishalpr-hs avatar Feb 04 '22 10:02 vishalpr-hs

same issue

AhtshamHayee avatar Feb 07 '22 13:02 AhtshamHayee

Same issue, somebody can give us some answers?

MoRa2297 avatar Apr 11 '22 14:04 MoRa2297

Same issue, news?

jaxgia93 avatar Jun 10 '22 15:06 jaxgia93

no

On Fri, 10 Jun 2022 at 21:14, jaxgia93 @.***> wrote:

Same issue, news?

— Reply to this email directly, view it on GitHub https://github.com/BugiDev/react-native-calendar-strip/issues/338#issuecomment-1152497574, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXLYOWKTDBBNQICJJCI56U3VONPHHANCNFSM5MVGXZ7Q . You are receiving this because you were mentioned.Message ID: @.***>

Gaurang-786 avatar Jun 15 '22 03:06 Gaurang-786

Same issue here.

#239 seems to address the same problem.

Has anyone found a workaround except simply disabling the scrollable prop?

Nautman avatar Jun 29 '22 13:06 Nautman

Also facing this with scrollable and minDate. I've narrowed it down to the line this.rlv.scrollToIndex(i, false); inside this.timeoutResetPositionId timeout function of updateDays in Scroller.js, as below:

// RecyclerListView sometimes returns position to old index after
// moving to the new one. Set position again after delay.
this.timeoutResetPositionId = setTimeout(() => {
          this.timeoutResetPositionId = null;
          this.rlv.scrollToIndex(i, false); // <---
          this.shifting = false; // debounce
        }, 800);

I've removed that line and I haven't experienced the issue that the comment in the code is referring to, if that is in fact a problem the solution may need to be refactored to not using a timeout

brycepavey avatar Aug 01 '22 03:08 brycepavey