React-datepicker: Inline style of 'display: inline-block' applied to popper target container

Created on 12 Jul 2017  路  7Comments  路  Source: Hacker0x01/react-datepicker

In the popper component, it adds a div with an inline style of display: inline-block shown here.

It'd be great if this was a class instead so better customizations could be made to the styling of the input, specifically in regards to width鈥攔ight now you can't make the width of the input 100% due to this.

Most helpful comment

@rafeememon ok, I will try to fix and commit it now

All 7 comments

@kyleturman I have the same issue.

Please add the ability to setup a class for this div element.

I have the same issue too.
Please fix this foolish programming choice...

@sahaviev @siarheipashkevich feel free to submit a PR

@rafeememon ok, I will try to fix and commit it now

ready..

My bad, should have notice this mistake earlier on =S

@sahaviev Thanks for fixing this! #944

Thank you @sahaviev and @tohjustin!

Was this page helpful?
0 / 5 - 0 ratings