Hi, Mobiscroll.
We’d like to render some React component next to the calendar.
Just like below:
Is there a way to do it?
Solution got!
We can use createPortal to render your component under .mbsc-popup-body
Hello @Kaikai_Wang and @George_Costanza
Please find below the answers:
-
the datepicker takes the width of the parent container in
inline
display mode so, you can easily display other elements next to it -
or if you would like to use the datepicker in a popup and show additional content next to it: use the popup component and show the date picker in
inline
mode in it
1 Like
Thanks! I didn’t realize there is Popup component at disposal.
1 Like