ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.

Home Page:https://mobile.ant.design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CalendarPicker inside custom container

madiyetov opened this issue · comments

Version of antd-mobile

5.33.0

What is this feature about?

Support getContainer in CalendarPicker

As a developer who keeps micro frontends inside shadow dom I want to render calendar picker inside the shadow dom. But now it is not possible.

Solution

Pass the getContainer property down to the Popup component here. The popup already supports it.