Handling events from onSelect will prevent the calendar from updating
mmmbacon opened this issue · 0 comments
mmmbacon commented
onSelect can handle events from parent component it resides in, but I believe it is losing it's reference to this and is not proceeding to update the calendar. It just fires the event and then hangs up. I noticed this because when you handle and event from onSelect, the date data will be sent to the event handler but then the calendar will not update with the new selected date. The only way I could get 'this' to be registered in the callback is to bind 'this' to the callback. I think this is the issue, it loses it's own this context.