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

报错:scrollToIndex out of range 0 vs -1

Open Harvey-W opened this issue 5 years ago • 5 comments

估计是位置问题,试了好几个排序,但是没有复现出错误的规律 :(

Harvey-W avatar Aug 30 '19 21:08 Harvey-W

另外,首次传值selected时如果大于未来两周,无法直接跳到指定日期,会跳到前一个星期,大于过去两周则正常

Harvey-W avatar Sep 03 '19 01:09 Harvey-W

@Harvey-W 我在图书馆面临同样的错误? 错误之后你做了什么?

syedamirali14 avatar Sep 18 '19 08:09 syedamirali14

@syedamirali14 I haven't solved this problem yet if you mean the second one, and the code shows it's a logical problem due to her 'four weeks' set initially. It should be some better way to figure this, especially when passing a date value beyond four weeks. So try to check this part of code to figure the first question which I cannot let it shown again.

Harvey-W avatar Sep 20 '19 15:09 Harvey-W

facing the same problem.

AurangsEmpire avatar Apr 01 '20 13:04 AurangsEmpire

any improvements?

hashinclude72 avatar Apr 28 '20 12:04 hashinclude72