Kiarash-Z / react-modern-calendar-datepicker

A modern, beautiful, customizable date picker for React
https://kiarash-z.github.io/react-modern-calendar-datepicker/
MIT License
1.02k stars 217 forks source link

Show datePicker when parent overflow is hidden #266

Open maherAshori opened 3 years ago

maherAshori commented 3 years ago

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.

alizabetpoor commented 2 years ago

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

JenniferTactill commented 1 year ago

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

aliforouzan commented 6 months ago

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