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

Parent component update causes child calendar animation to break

ragnarkurmwunder opened this issue · comments

The scenario I am having in simplified terms:

onSelect={date => this.parent.setState({date: date})}

Animations break and dates seem unselected,
though the calendar retains the selected values.
Parent element update causes calendar update which breaks animation.