N
N
Ninja Mate2016-02-29 20:24:27
JavaScript
Ninja Mate, 2016-02-29 20:24:27

How to solve bootstrap-datetimepicker position issue?

I use react-bootstrap-datetimepicker when working with react, there are several of them on the page and they all pop up at the beginning of the page when you click on the button that calls it. (page is very long)

dateTime={eng_atsihuservaud_date}
        format={format}
        viewMode={mode}
        inputFormat={inputFormat}
        defaultText={eng_atsihuservaud_date}
        onChange={(newDate)=> this.setState({eng_atsihuservaud_date: newDate })}
/>

Who faced similar and where there can be a problem in general?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Ninja Mate, 2016-04-01
@victorzadorozhnyy

the library turned out to be buggy, I replaced it with another one and it all worked

P
Prk11, 2016-03-02
@Prk11

did not work with react, but this often happens if you forgot to close the tag somewhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question