I'm using the picker in a scrolling container which causes clipping issues. As per the docs, I've added
calendarContainer={document.body}
which solves the scrolling issue, but now clicking anywhere inside the calendar popup (e.g. clicking next/previous month) causes it to immediately close.
Have I misunderstood the usecase here or is there a fix I can use?
I'm using the picker in a scrolling container which causes clipping issues. As per the docs, I've added
calendarContainer={document.body}
which solves the scrolling issue, but now clicking anywhere inside the calendar popup (e.g. clicking next/previous month) causes it to immediately close.Have I misunderstood the usecase here or is there a fix I can use?
Any help is massively appreciated :)
Minimal example here: https://codesandbox.io/s/flamboyant-gates-qh64mk?file=/src/App.js