freiksenet / react-calendar

A modular toolkit to build calendar-related things in React
http://freiksenet.github.io/react-calendar/
MIT License
249 stars 46 forks source link

Days on the edge of the year missing the `outside` modifier #8

Closed fson closed 9 years ago

fson commented 9 years ago

Days from the next year don't get the outside modifier class, and therefore don't show correctly as grayed out. This only happens at the edge of the year, not at the edges of other months.

react-calendar-edge-days-bug

Can be reproduced with following code:

        <Calendar firstMonth={12}
                  date={moment('2014-12-01')}
                  weekNumbers={true}
                  size={1} />
freiksenet commented 9 years ago

Duplicate of #4.