Rudeg / react-input-calendar

http://rudeg.github.io/react-input-calendar/
MIT License
139 stars 94 forks source link

Added a prop to hide calendar when on blur from the field happens #64

Closed tatarin0 closed 8 years ago

tatarin0 commented 8 years ago

React input calendar doesn't seem to hide when you leave the calendar field by tabbing away, only closes on click away. I thought this may help some of the other people with similar problem.

Rudeg commented 8 years ago

Thanks!

adamellsworth commented 8 years ago

This doesn't seem to have any effect in 0.3.1

tatarin0 commented 8 years ago

Hi Adam, sorry for delayed response. hideOnBlur works in conjunction with onBlur (the best way), unless you have custom onBlur method and you can pass a boolean to Calendar component. I also updated (pull request) readme file for more details