React-datepicker: Append popper to document.body

Created on 20 Apr 2018  路  2Comments  路  Source: Hacker0x01/react-datepicker

Is there a way to force popper to be appended to a different element, e.g.: document.body? It's causing problems when it's required to render datepicker within a fixed container

image

It's not issue with z-index. Lame workaround for this particular case would be to set main "left" container's overflow to visible, but then it become non-scrollable vertically. Not much of a workaround.

I think if popper was allowed to be attached to any element in DOM hierarchy, this wouldn't be an issue

wontfix

Most helpful comment

All 2 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhruvparmar372 picture dhruvparmar372  路  3Comments

sarav1234 picture sarav1234  路  3Comments

rsouthpaw picture rsouthpaw  路  3Comments

lclemence picture lclemence  路  3Comments

pinturic picture pinturic  路  3Comments