@@ -61,6 +61,7 @@ export default function Cron(props: CronProps) {
6161 ] ,
6262 allowClear,
6363 dropdownsConfig,
64+ getPopupContainer,
6465 } = props
6566 const internalValueRef = useRef < string > ( value )
6667 const defaultPeriodRef = useRef < PeriodType > ( defaultPeriod )
@@ -292,6 +293,7 @@ export default function Cron(props: CronProps) {
292293 shortcuts = { shortcuts }
293294 allowedPeriods = { allowedPeriods }
294295 allowClear = { dropdownsConfig ?. period ?. allowClear ?? allowClear }
296+ getPopupContainer = { getPopupContainer }
295297 />
296298 ) }
297299
@@ -319,6 +321,7 @@ export default function Cron(props: CronProps) {
319321 mode = { dropdownsConfig ?. months ?. mode ?? mode }
320322 allowClear = { dropdownsConfig ?. months ?. allowClear ?? allowClear }
321323 filterOption = { dropdownsConfig ?. months ?. filterOption }
324+ getPopupContainer = { getPopupContainer }
322325 />
323326 ) }
324327
@@ -345,6 +348,7 @@ export default function Cron(props: CronProps) {
345348 dropdownsConfig ?. [ 'month-days' ] ?. allowClear ?? allowClear
346349 }
347350 filterOption = { dropdownsConfig ?. [ 'month-days' ] ?. filterOption }
351+ getPopupContainer = { getPopupContainer }
348352 />
349353 ) }
350354
@@ -374,6 +378,7 @@ export default function Cron(props: CronProps) {
374378 dropdownsConfig ?. [ 'week-days' ] ?. allowClear ?? allowClear
375379 }
376380 filterOption = { dropdownsConfig ?. [ 'week-days' ] ?. filterOption }
381+ getPopupContainer = { getPopupContainer }
377382 />
378383 ) }
379384
@@ -400,6 +405,7 @@ export default function Cron(props: CronProps) {
400405 mode = { dropdownsConfig ?. hours ?. mode ?? mode }
401406 allowClear = { dropdownsConfig ?. hours ?. allowClear ?? allowClear }
402407 filterOption = { dropdownsConfig ?. hours ?. filterOption }
408+ getPopupContainer = { getPopupContainer }
403409 />
404410 ) }
405411
@@ -426,6 +432,7 @@ export default function Cron(props: CronProps) {
426432 dropdownsConfig ?. minutes ?. allowClear ?? allowClear
427433 }
428434 filterOption = { dropdownsConfig ?. minutes ?. filterOption }
435+ getPopupContainer = { getPopupContainer }
429436 />
430437 ) }
431438
0 commit comments