haoxins / react-flatpickr

flatpickr for React
MIT License
598 stars 102 forks source link

reactFlatpickr doesn't show the calendar on top of the input, but is found in DOM #142

Closed moda20 closed 3 years ago

moda20 commented 3 years ago

hey, I am trying to use reactFlatpickr but it doesn't show up on top of the readOnly Input item.

i am not doing anything weird with the input just a basic item. this is how i am doing it :

<Flatpickr
                            className="form-control"
                            value={startDate}
                            onChange={date => {
                              this.handleStartEndDate(date,"")
                            }}
                          />

i am on the version ^3.9.1

moda20 commented 3 years ago

i needed to import the styles. found it in the README.