How to put the DatePicker module in the antd Popover bubble card?

The Popover component of

antd has a feature that it closes by clicking on an element other than the floating layer.
now I want to place a DatePicker component in the Popover component, and then every time I select a date, I trigger a shutdown Popover .
I thought about using getCalendarContainer provided by DatePicker component to control pop-up elements to appear in Popover . Later, I thought that the page defaults to

without Popover elements for the first time.
Apr.01,2022

OK, if you don't see it clearly, you can use getPopupContainer= {triggerNode = > triggerNode.parentNode}

.
Menu