pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
347 stars 195 forks source link

Allows a function to be passed to calendarPlacement #105

Closed ebrenes closed 7 years ago

ebrenes commented 7 years ago

This property change allows a function to be passed to calendarPlacement in addition to a string. This fixes #104.

Description

Motivation and Context

This is explained in further detail in #104

How Has This Been Tested?

Tested on the following with all unit tests passing:

I also created two scenarios in the example app showcasing the functionality, and where one can see that previous functionality remains intact.

Types of changes

Checklist:

ebrenes commented 7 years ago

@wehriam, I am sure you are very busy, but any chance of reviewing/accepting this PR? It is in our critical path.

Thanks in advance for your time.