Kiarash-Z/react-modern-calendar-datepicker

Show datePicker when parent overflow is hidden

maherAshori opened this issue · 3 comments

If we have a parent for example (height: 200px) and (overflow: hidden) there is not enough environment to show the date picker.

image

Solution is:

When we focus on input element, should get input position (x, y) and set datepicker position as fixed and then set position related to the input place.

@maherAshori Hi can you put your code here for the hint?

Any news about it ? I'm struggling with the same issue

in the parent element with relative position just set overflow: visable.