felixakiragreen / react-kronos

A fast, intuitive, and elegant date and time picker for React.
https://felixakiragreen.github.io/react-kronos/
MIT License
89 stars 28 forks source link

Portal support #77

Open shubhanus opened 4 years ago

shubhanus commented 4 years ago

It's better to give portal support for the popover. Some time height is less in what we are showing date picker that popover we can't control z-index if we give portal support that will solve these issues.

felixakiragreen commented 4 years ago

What would be involved in portal support?

shubhanus commented 4 years ago

For Rendering children into a DOM node that exists outside the DOM hierarchy of the parent component.

https://reactjs.org/docs/portals.html

It's just simple implementation.