clauderic / react-infinite-calendar

✨ Infinite scrolling date-picker built with React, with localization, range selection, themes, keyboard support, and more.

Home Page:http://clauderic.github.io/react-infinite-calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interpolate function is called after onSelect is called

MartinNuc opened this issue · comments

I am trying to use this library with multi selection on.

Problem is that onSelect is called with a single value not the whole array. The reason is because interpolate function is used to update internal state but not for calling onSelect.

I will try to create PR.

Closed the PR since it hasn't been merged for one year.